Skip to content

Class Engine::ErrorAsset

ClassList > Engine > ErrorAsset

Exception thrown when an asset cannot be loaded, found, or used.

  • #include <AssetErrors.hpp>

Inherits the following classes: Engine::AError

Public Functions

Type Name
ErrorAsset (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 ErrorAsset

inline explicit Engine::ErrorAsset::ErrorAsset (
    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/AssetErrors.hpp