Class Engine::ErrorEcs¶
Exception thrown when ECS invariants are violated (missing component, resource, etc.).
#include <EcsErrors.hpp>
Inherits the following classes: Engine::AError
Public Functions¶
| Type | Name |
|---|---|
| ErrorEcs (const std::string & detail, error_severity_e severity=error_severity_e::CRITICAL) |
Public Functions inherited from Engine::AError¶
See Engine::AError
| 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 inherited from Engine::AError¶
See Engine::AError
| Type | Name |
|---|---|
| std::string | m_Message |
| error_severity_e | m_Severity |
Public Functions Documentation¶
function ErrorEcs¶
inline explicit Engine::ErrorEcs::ErrorEcs (
const std::string & detail,
error_severity_e severity=error_severity_e::CRITICAL
)
The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Errors/EcsErrors.hpp