Value | Meaning |
---|---|
INTERNAL_FAILURE | This could occur from errors with Eventy when setting up the signal handlers and event types. It can also occur if libsnooze has an error which would occur when calling ensure(Thread) for the Receiver and Sender threads |
INVALID_CONN_INFO | If the provided connection information is invalid, such as incorrect hostname, invalid nick |
ALREADY_CONNECTED | If an attempt to call connect() is made when already connected |
CONNECT_ERROR | If there is an erroring opening a connection to the endpoint server |
EMPTY_PARAMS | If invalid parameter information is provided to an IRC command method |
INVALID_CHANNEL_NAME | If an invalid channel name is provided |
INVALID_NICK_NAME | If an invalid nickname is provided |
ILLEGAL_CHARACTERS | If illegal characters exist within the message |
COMMAND_TOO_LONG | If the final encoded IRC message is too long to send to the server |
INVALID_FORMATTING | If invalid parameters are passed to any of the text formatting functions |
DB_KEY_NOT_FOUND | If a key-lookup in the ConnInfo failed |
NICKNAME_TOO_LONG | If the requested nickname (via /NICK) is too long |
The type of error to be used with BirchwoodException
TODO: Make this STRING and associate a message with it but make it include the enum name and corresponding value when throwin an exception