Description of the error codes.
More...
|
enum | som_error {
SOM_OK = 0,
SOM_ERROR_VERSION = SOM_ERROR_OFFSET,
SOM_ERROR_NOINIT,
SOM_ERROR_NOFACILITY,
SOM_ERROR_INTERNAL,
SOM_ERROR_TIMEOUT,
SOM_ERROR_NOSESSION,
SOM_ERROR_ABORT,
SOM_ERROR_NOMEM,
SOM_ERROR_INVALIDARGS,
SOM_ERROR_NOCALLBACK,
SOM_ERROR_NOHOST,
SOM_ERROR_NETWORK,
SOM_ERROR_CONNECT,
SOM_ERROR_AUTHFAILED,
SOM_ERROR_NOTCONNECTED,
SOM_ERROR_PROTOCOL,
SOM_ERROR_FAILED,
SOM_ERROR_BUSY,
SOM_ERROR_MORE,
SOM_ERROR_LIMITREACHED,
SOM_ERROR_NOSPACE,
SOM_ERROR_NOTFOUND,
SOM_ERROR_WRONGTYPE,
SOM_ERROR_DUPLICATE,
SOM_ERROR_NYI
} |
|
Description of the error codes.
◆ SOM_ERROR_OFFSET
#define SOM_ERROR_OFFSET 1000 |
Base of error codes
Definition at line 30 of file errors.h.
◆ som_error
Enumeration for SOM error codes
Enumerator |
---|
SOM_OK | No error
|
SOM_ERROR_VERSION | Version mismatch
|
SOM_ERROR_NOINIT | Not initialized
|
SOM_ERROR_NOFACILITY | Facility not requested
|
SOM_ERROR_INTERNAL | Internal error
|
SOM_ERROR_TIMEOUT | Operation timed out
|
SOM_ERROR_NOSESSION | No sessions to poll
|
SOM_ERROR_ABORT | Session aborted
|
SOM_ERROR_NOMEM | Out of memory
|
SOM_ERROR_INVALIDARGS | Invalid arguments
|
SOM_ERROR_NOCALLBACK | No callback function
|
SOM_ERROR_NOHOST | Cannot resolve host name
|
SOM_ERROR_NETWORK | Network error
|
SOM_ERROR_CONNECT | Failed to connect
|
SOM_ERROR_AUTHFAILED | Authentication failed
|
SOM_ERROR_NOTCONNECTED | Not connected to server
|
SOM_ERROR_PROTOCOL | Protocol error
|
SOM_ERROR_FAILED | Command failed
|
SOM_ERROR_BUSY | Session busy with command
|
SOM_ERROR_MORE | More data following
|
SOM_ERROR_LIMITREACHED | Size limit reached
|
SOM_ERROR_NOSPACE | Insufficient space in user buffer
|
SOM_ERROR_NOTFOUND | Item not found
|
SOM_ERROR_WRONGTYPE | Item has incorrect type
|
SOM_ERROR_DUPLICATE | Duplicate item
|
SOM_ERROR_NYI | Not yet implemented
|
Definition at line 33 of file errors.h.