Error codes

All functions return a value, which can either be the result from the function or an error code

0: No error
-10: Network not loaded
-11: RW Net has expired
-12: Network too big for license
-14: Too many links at one node (no more than 1900)
-15: Wrong version code in network file
-16: Not in turnmode
-20: Field name not found in output file
-21: Field isn't of type number/decimal 11.3
-30: Number out of bounds
-31: Couldn't load network: wrong path, file not found etc
-32: Output file couldn't be found, opened etc.
-33: Node2 / link2 not found
-34: No node index created
-35: Route not ready
-36: Route index out of bounds
-37: No results calculated
-38: TSP: One or more nodes in subnet
-39: ExtraVar hasn't been created
-40: General error
-41: Out of memory
-42: Internal error
-50: Stopped by user
-54: Not available in Turnmode