Class Engine::AError¶
Base class for concrete Engine errors.More...
#include <AError.hpp>
Inherits the following classes: Engine::IError
Inherited by the following classes: Engine::ErrorAsset, Engine::ErrorEcs
Public Functions¶
| Type | Name |
|---|---|
| AError (const std::string & typePrefix, const std::string & detail, error_severity_e severity) |
|
| virtual error_severity_e | GetSeverity () noexcept override const |
| virtual const char * | what () noexcept override const |
Public Functions inherited from Engine::IError¶
See Engine::IError
| Type | Name |
|---|---|
| virtual error_severity_e | GetSeverity () noexcept const = 0 |
| virtual const char * | what () noexcept override const = 0 |
| ~IError () override |
Protected Attributes¶
| Type | Name |
|---|---|
| std::string | m_Message |
| error_severity_e | m_Severity |
Detailed Description¶
Stores a formatted message and severity. Domain-specific error types inherit from this class and pass a type prefix and detail string to the constructor.
Public Functions Documentation¶
function AError¶
inline Engine::AError::AError (
const std::string & typePrefix,
const std::string & detail,
error_severity_e severity
)
function GetSeverity¶
Implements Engine::IError::GetSeverity
function what¶
Implements Engine::IError::what
Protected Attributes Documentation¶
variable m_Message¶
variable m_Severity¶
The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Errors/AError.hpp