Enumerated flags for error message handling.
These are simple flags to identify the type of error when it occurs. Use with the Error class (and its child classes, e.g. TimeError) to identify errors and get verbose string output when debugging.
Enumerator |
---|
NoError |
No error (often a meaningful error state in itself).
|
UnknownError |
Unknown error type.
|
OutOfRangeError |
Tried to access beyond the range of the object (usually container).
|
ConstructorError |
An error occurred somewhere inside a class constructor.
|
DestructorError |
The destructor failed to self-destruct.
|
ConversionError |
A conversion (usually between types) failed.
|
OpenError |
Failed to open an input/output device.
|
CloseError |
Failed to close an input/output device.
|
InvalidArgError |
The user entered an invalid argument to this method, c.f. InvalidObjectError.
|
ConfigurationError |
There was a configuration error (usually in a configure() or initialise() method).
|
ConnectionError |
There was a connection error, usually with input-output devices.
|
ReadError |
There was a read error, usually with input-output devices.
|
WriteError |
There was a write error, usually with input-output devices.
|
NotInitialisedError |
The target object has not yet been initialised, accessing before doing so is not permitted.
|
PermissionsError |
The caller does not have the required permissions.
|
MemoryError |
There was a problem allocating the requested memory.
|
UsageError |
The object was used incorrectly and caused an error.
|
RaiiError |
The object is pure RAII style and must be initialised properly.
|
ArgNotSupportedError |
The combination of input arguments is not supported on this platform.
|
NotSupportedError |
This operation is not supported on this platform.
|
BusyError |
Resources are busy, operation is not permitted.
|
OutOfResourcesError |
Out of resources, cannot proceed.
|
InterruptedError |
This operation was interrupted.
|
BlockingError |
A device marked as blocking, but used as non-blocking, or vice versa.
|
SystemFailureError |
A subcomponent of the system platform has failed (e.g. io subsystem).
|
InvalidObjectError |
Attempted to work on an invalid object (e.g. dir instead of a file), c.f. InvalidArgError
|
IsLockedError |
Invalidates attempts to work further because an object is locked.
|
TimeOutError |
A timeout occured.
|
NotFoundError |
An object was not found.
|
ConnectionRefusedError |
A connection was refused by the other end (e.g. socket client server connections).
|
PosixError |
Deprecating.
|
InvalidInputError |
Deprecated.
|