|
CyberEngineMkIII
|
Exceptions caused by external call failures or invalid external data. Only classifies ones that can pass through the ABI. More...
#include <Exception.hpp>


Public Types | |
| enum | ErrorCode : unsigned int { DIRECTORY_NOT_EMPTY, FILE_EXISTS, FILE_NOT_FOUND, STREAM_NOT_READABLE, STREAM_NOT_WRITABLE, HEAP_ALLOCATION_FAILURE, MUTEX_INITIALIZATION_FAILURE, PATH_LOST, PATH_TOO_LONG, STRING_VALIDATION_FAILURE, SYSTEM_PATH_RETRIEVAL_FAILURE, THREAD_CREATION_FAILURE } |
| The error code of the exception. More... | |
Public Types inherited from CYB::Exception::Base | |
| enum | Level : byte { Level::VIOLATION, Level::SYSTEM_DATA, Level::INTERNAL, Level::UNIT } |
| The extended type of the exception. More... | |
Public Member Functions | |
| SystemData (const ErrorCode AErrorCode) noexcept | |
| Construct a SystemData exception. More... | |
Static Private Member Functions | |
| static API::String::Static | ErrorMessage (const ErrorCode AErrorCode) noexcept |
| Get the associated message for an exception. More... | |
Additional Inherited Members | |
Public Attributes inherited from CYB::Exception::Base | |
| API::String::Static | FMessage |
| An english description of the error, guaranteed to be compatible with CYB::API::String::UTF8. | |
| const unsigned int | FErrorCode |
| The assigned error code. | |
| const Level | FLevel |
| The type of the exception. | |
Protected Member Functions inherited from CYB::Exception::Base | |
| Base (API::String::Static &&AMessage, const unsigned int AErrorCode, const Level ALevel) noexcept | |
| Construct a Base exception. More... | |
Exceptions caused by external call failures or invalid external data. Only classifies ones that can pass through the ABI.
Definition at line 65 of file Exception.hpp.
| enum CYB::Exception::SystemData::ErrorCode : unsigned int |
The error code of the exception.
Definition at line 68 of file Exception.hpp.
|
noexcept |
Construct a SystemData exception.
| AErrorCode | The ErrorCode describing the exception |
| CYB::Exception::Violation | Error code: CYB::Exception::Violation::INVALID_EXCEPTION_CODE. Thrown if AErrorCode is not recognized by the engine |
Definition at line 86 of file CYBException.cpp.
|
staticprivatenoexcept |
Get the associated message for an exception.
| AErrorCode | The ErrorCode describing the exception |
AErrorCode | CYB::Exception::Violation | Error code: CYB::Exception::Violation::INVALID_EXCEPTION_CODE. Thrown if AErrorCode is not recognized by the engine |
Definition at line 42 of file CYBException.cpp.
1.8.6