Skip to content

LiteFX::Exception::Exception

Initializes the exception.

Synopsis

Declared in <litefx/exceptions.hpp>

explicit Exception(
    std::string const& message,
    std::source_location const& location,
    std::stacktrace trace);

Parameters

NameDescription
messageThe error message.
locationThe source location of the error.
traceThe stack trace leading to the error.