Error CodesΒΆ

In Igor Pro every XOP gets its own unique error code range assigned. The actual error code as listed in the table below can be calculated with the utility function FCALL_GetError. With the utility procedures also error constants with the listed names are created that can be used for comparison. Additionally the unique error code can be tested against an expected error with the function FCALL_IsError.

Error Constants

Error Code

FCALL_ERROR_OLD_IGOR

10001

FCALL_ERROR_UNHANDLED_CPP_EXCEPTION

10002

FCALL_ERROR_CPP_EXCEPTION

10003

FCALL_ERROR_REF_VAR_DIFF_TYPE

10004

FCALL_ERROR_LOADLIBRARY_FAILED

10005

FCALL_ERROR_LIBHANDLE_FAILED

10006

FCALL_ERROR_FREELIBRARY_FAILED

10007

FCALL_ERROR_FREEMEMORY_FAILED

10008

FCALL_ERROR_GETPROCA_FAILED

10009

FCALL_ERROR_GETCINDEX_FAILED

10010

FCALL_ERROR_PARSE_FAILED

10011

FCALL_ERROR_PARSE_UNSUPPORTED_PARAM

10012

FCALL_ERROR_ERR_INVALID_INPUT_PARAM

10013

FCALL_ERROR_ERR_ASSERT

10014

FCALL_ERROR_ERR_CONVERT

10015

FCALL_ERROR_ERR_INVALID_TYPE

10016