minilua::InterpreterException class

Exception thrown by the interpreter.

Contents

This exception can contain a stack trace.

Derived classes

class BadArgumentError
Exception indicating a bad argument of a function call.

Public functions

auto with(StackItem item) const -> InterpreterException -> auto
Create a new exception with the given stack item added.
void print_stacktrace(std::ostream& os) const
Print the stacktrace to the output stream.