Error codes

Top  Previous  Next

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 trial license has expired

-12

Network too big for license or input file empty

-13

Invalid shapefile

-14

Too many links at one node (no more than 1900)

-15

Wrong version code in network file

-16

Function not available in turnmode

-17

CGF file is password protected

-18

Function only available in turnmode

-19

External ID not open - see externIDopen

-20

Field name not found in file

-21

Field isn't of type number/decimal 11.3

-22

Field is not numerical

-30

Number out of bounds

-31

Couldn't load network: wrong path, file not found etc

-32

File couldn't be found, opened, created 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

Nodes in subnet or node=0

-39

Function ExtraVarCreate hasn't been called

-40

General error

-41

Out of memory

-42

Internal error

-43

Function not available in Free/Standard version (OCX only)

-44

No spatial index found (spatialindex.bin)

-45

No link found

-46

No coordinate file found (coord3.bin)

-47

Not possible with encrypted files

-48

Road file is already open

-49

Road file is not open

-50

Cancelled by user

-51

Number of records in road file doesn't match network

-52

The network contains subnets

-53

(Not implemented yet)

-54

No solution found, increase factor in function CPP

-55

One or more nodes or locations are not defined in list

-56

Only shortest or fastest route can be processed with this function

-57

Function VRPcreate has not been called

-58

VRP solution not possible - limits too tight

-59

Isochrone steps too big - no output

-60

Limit files has wrong size

-61

Invalid ''lambda'' parameter

-62

Coordinate not within valid window

-63

Hierarchy need to be loaded

-64

Call SetLinkResult first

 

See also function ErrorMsg.