|
CyberEngineMkIII
|
Exceptions that are thrown internally in the engine that the should never see, these are a superset of SystemData type exceptions. If one of these exceptions appear in a unit, please contant the engine development team. More...
#include <Exception.hpp>


Public Types | |
| enum | ErrorCode : unsigned int { MEMORY_COMMITAL_FAILURE, MEMORY_PROTECT_FAILURE, MEMORY_RESERVATION_FAILURE, MODULE_FUNCTION_LOAD_FAILURE, MODULE_LOAD_FAILURE, PATH_EVALUATION_FAILURE, PROCESS_CREATION_ERROR, PROCESS_EXIT_CODE_UNCHECKABLE, PROCESS_TERMINATION_ERROR } |
| 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 | |
| Internal (const ErrorCode AErrorCode) noexcept | |
| Construct an Internal 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 that are thrown internally in the engine that the should never see, these are a superset of SystemData type exceptions. If one of these exceptions appear in a unit, please contant the engine development team.
Definition at line 104 of file Exception.hpp.
| enum CYB::Exception::Internal::ErrorCode : unsigned int |
The error code of the exception.
Definition at line 107 of file Exception.hpp.
|
noexcept |
Construct an Internal 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 126 of file CYBException.cpp.
|
staticprivatenoexcept |
Get the associated message for an exception.
| AErrorCode | The ErrorCode describing the exception |
AErrorCode Definition at line 91 of file CYBException.cpp.
1.8.6