comet.CometError¶
- class comet.CometError¶
- Inherits:
The exception raised by most comet functions when an internal error occurs. Since there are several hundred of internal errors that can occur this class sums them all up instead of having one error class for each possible error.
Methods¶
- CometError.__init__(errorCode, errorMessage, additionalInfo='')¶
Constructor for internal use.
- CometError.__str__()¶
Get a string representation of this error which contains error code and an error description if available.
- Returns
A full error description including error code, message and additional information
- Return type
- CometError.getMessage()¶
Get a extended description about the occured error.
- Returns
The error message
- Return type
- Available
- CometError.getCode()¶
Get the error code as a number.
- Returns
The error code
- Return type
- Available