Class exception

Inheritance Relationships

Base Type

  • public exception

Derived Types

Class Documentation

class legion::core::exception : public exception

Args generic exception with file name, line number, and function name.

Subclassed by legion::core::fs_error, legion::core::invalid_creation_error, legion::core::invalid_fetch_error, legion::core::invalid_type_error

Public Functions

inline exception(cstring file, uint line, cstring func)
inline exception(cstring msg, cstring file, uint line, cstring func)
inline virtual cstring what() const noexcept override
inline cstring file() const noexcept
inline uint line() const noexcept
inline cstring func() const noexcept