Appendix A. Summary of Reported Errors

This section provides a reference list of the error messages potentially generated by the Cascade Driver.

DR_API_ADMIN_ERRORS are generated by the administrator. This group includes the following:

DR_ERR_NO_USER_OBJECTno user object to process
DR_ERR_BAD_LICENSEInvalid license rejected
DR_ERR_INSUF_PARMSInsufficient parms
DR_ERR_CMD_INVALIDinvalid command: %d
DR_ERR_NO_NAMESERVERName server not running%s
DR_ERR_ATTACH_TASKNAMECould not declare name %s to qnx server
DR_ERR_ATTACH_NAMESERVERCould not attach to nameserver
DR_ERR_PNT_NOT_FOUNDpoint not found: %s
DR_ERR_PNT_NOT_DISABLEDpoint not disabled: %s
DR_ERR_PNT_NOT_ENABLEDpoint not enabled: %s
DR_ERR_PNT_NOT_READABLEpoint not readable: %s
DR_ERR_PNT_NOT_WRITEABLEpoint not writable: %s
DR_ERR_PNT_TYPE_UNKNOWNunexpected point type %s: %d
DR_ERR_PNT_TYPE_NO_REPpoint type has no representation: %s %d
DR_ERR_DEV_INVALIDinvalid device: %d
DR_ERR_DEV_IO_FAILUREI/O failure (%d) on device %d
DR_ERR_DEV_IO_FAILEDI/O failure on device %d
DR_ERR_BLK_INVALIDinvalid buffer id: %d
DR_ERR_BLK_NOT_FOUNDdev %d :buffer %d not found
DR_ERR_BLK_OFS_INVALIDoffset %d out of range
DR_ERR_BLK_SIZE_INVALIDsize %d out of range
DR_ERR_BLK_TYPE_INVALIDunknown type %s added to buffer %d:%d
DR_ERR_BLK_TYPE_CREATEfailed to create type block %s for buffer %d:%d
DR_ERR_BLK_BUFFER_SMALLmessage data buffer too small for data block of length %d
DR_ERR_INTR_ATTACH_FAILEDfailed to attach interrupt %d (errno = %d)
DR_ERR_INTR_PROXY_FAILEDfailed to attach interrupt proxy (errno = %d)

DR_API_ERRORS are generated by the API functions. This group includes the following:

DR_API_ERRAPI Error
DR_API_PNT_ERRPoint not accesible
DR_API_BLK_ERRData Block access error
DR_API_BLK_OSIZE_ERRRequested block size too large
DR_API_BLK_DATAP_ERRMissing Data parm
DR_API_BLK_NO_DEV_ERRDevice not available

The DR_API_STATUS_ERRORS indicate an error that is not sub-system specific. The DR_API_IPC_ERRORS indicate an interprocess communication error. Both groups use a specific error from the ST_STATUS group of errors. The ST_STATUS error consist of the following:

ST_OKNo error
ST_ERRORError
ST_NO_TASKNo such task
ST_NO_MSGNo message available
ST_WOULDBLOCKAction would block
ST_INTRAction was interrupted
ST_FULLQueue is full
ST_LOCKEDPoint is locked
ST_SECURITYInsufficient security level
ST_NO_POINTPoint does not exist
ST_INSIGValue change was insignificant

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.