← API Reference Struct

asge::errors::_internal::ErrorInfo

Carries a std::error_code alongside optional human-readable context.

#include <Errors.hpp>

The code field is what callers should switch on / compare against error enums. The detail field is purely for logging / diagnostics (e.g. the offending file path) and should not be parsed by callers.

Public Attributes

#std::error_code s_Code
#std::string s_Detail

Public Member Functions

#explicit operator bool() const noexcept
#str::String String() const noexcept