PFSDllWrapperpfsGetErrorGlb Method |
Extract and reset the global error code
Namespace:
DHI.PFS
Assembly:
DHI.PFS (in DHI.PFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntaxpublic static PFSErrorCode pfsGetErrorGlb()
Public Shared Function pfsGetErrorGlb As PFSErrorCode
public:
static PFSErrorCode pfsGetErrorGlb()
static member pfsGetErrorGlb : unit -> PFSErrorCode
Return Value
Type:
PFSErrorCode
Remarks
A return value of pfs_OK indicates no error. Other numeric error codes are implemented as constants. The internal global error status is assigned the value of pfs_OK.
pfs_OK 0 Success
pfs_ERR_START 1000 Unused
pfs_ERR_FILE_OPEN 1001 Can't open input file
pfs_ERR_FILE_INIT 1002 Can't initialize input stream
pfs_ERR_PARSE 1003 Error during parsing
pfs_ERR_PARSER_INIT 1004 Can't initialize parser
pfs_ERR_HANDLE 1005 Bad handle passed to function
pfs_ERR_NODE 1006 Bad node passed to function
etc. (reference to definition of PFSErrorCode and method pfsErrorCodeToErrorMessage)
See Also