|
CyberEngineMkIII
|
Exceptions indicating an API contract violation. Should not be anticipated. More...
#include <Exception.hpp>


Public Types | |
| enum | ErrorCode : unsigned int { INVALID_ENUM, INVALID_INTEROP_CONSTRUCTOR, INVALID_OPERATION, INVALID_PARAMETERS, NEGATIVE_HEAP_ALLOCATION, UNSUPPORTED_ALLOCATION_AMOUNT } |
| 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 | |
| Violation (const ErrorCode AErrorCode) noexcept | |
| Construct a Violation 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 indicating an API contract violation. Should not be anticipated.
Definition at line 32 of file Exception.hpp.
| enum CYB::Exception::Violation::ErrorCode : unsigned int |
The error code of the exception.
Definition at line 35 of file Exception.hpp.
|
noexcept |
Construct a Violation 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 36 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 11 of file CYBException.cpp.
1.8.6