![]() |
ArkScript
A small, fast, functional and scripting language for video games
|
CodeError thrown by the compiler (parser, macro processor, optimizer, and compiler itself) More...
#include <Exceptions.hpp>
Public Member Functions | |
CodeError (const std::string &what, CodeErrorContext ctx, std::optional< CodeErrorContext > maybe_more_context=std::nullopt) | |
![]() | |
Error (const std::string &message) | |
virtual std::string | details (bool colorize) const |
Public Attributes | |
const CodeErrorContext | context |
const std::optional< CodeErrorContext > | additional_context |
CodeError thrown by the compiler (parser, macro processor, optimizer, and compiler itself)
Definition at line 130 of file Exceptions.hpp.
|
inline |
Definition at line 135 of file Exceptions.hpp.
const std::optional<CodeErrorContext> Ark::CodeError::additional_context |
Definition at line 133 of file Exceptions.hpp.
Referenced by Ark::Diagnostics::generate().
const CodeErrorContext Ark::CodeError::context |
Definition at line 132 of file Exceptions.hpp.
Referenced by Ark::Diagnostics::generate().