Go to the source code of this file.
|
enum | IRC::EIrcErrorCode {
IRC::IRC_SUCCESS = 0
,
IRC::IRC_FAILED_UNREACHABLE_CODE = 5
,
IRC::IRC_SHUTDOWN = 6
,
IRC::IRC_INVALID_PORT = 100
,
IRC::IRC_PASSWORD_TOO_SHORT = 101
,
IRC::IRC_PASSWORD_TOO_LONG = 102
,
IRC::IRC_INVALID_PASSWORD = 103
,
IRC::IRC_FAILED_TO_CREATE_SOCKET = 200
,
IRC::IRC_FAILED_TO_BIND_SOCKET = 201
,
IRC::IRC_FAILED_TO_LISTEN_SOCKET = 202
,
IRC::IRC_FAILED_TO_ACCEPT_SOCKET = 203
,
IRC::IRC_FAILED_TO_CONNECT_SOCKET = 204
,
IRC::IRC_FAILED_TO_SEND_SOCKET = 205
,
IRC::IRC_FAILED_TO_RECV_SOCKET = 206
,
IRC::IRC_FAILED_TO_CLOSE_SOCKET = 207
,
IRC::IRC_FAILED_TO_SHUTDOWN_SOCKET = 208
,
IRC::IRC_FAILED_TO_SETSOCKOPT_SOCKET = 209
,
IRC::IRC_ERROR_LISTEN_SOCKET = 210
,
IRC::IRC_FAILED_TO_CREATE_KQUEUE = 300
,
IRC::IRC_FAILED_TO_ADD_KEVENT = 301
,
IRC::IRC_FAILED_TO_DEL_KEVENT = 302
,
IRC::IRC_FAILED_TO_WAIT_KEVENT = 303
,
IRC::IRC_FAILED_TO_OBSERVE_KEVENT = 304
,
IRC::IRC_ERROR_LISTEN_SOCKET_EVENT = 305
,
IRC::IRC_ERROR_CLIENT_SOCKET_EVENT = 306
,
IRC::IRC_ERROR_CODE_MAX
} |
| Error Codes Enum. More...
|
|
◆ IRC_ERROR_CODE_TUPLE_LIST
#define IRC_ERROR_CODE_TUPLE_LIST |
Tuple of error code, error number, and error message.
◆ IRC_ERROR_CODE_X [1/2]
#define IRC_ERROR_CODE_X |
( |
| code, |
|
|
| number, |
|
|
| message ) |
◆ IRC_ERROR_CODE_X [2/2]
#define IRC_ERROR_CODE_X |
( |
| code, |
|
|
| number, |
|
|
| message ) |
Value: case code: \
return message;