|
spudplate
Template scaffolding compiler for spudlang .spud files
|
Exception thrown when the interpreter encounters a runtime failure. More...
#include <interpreter.h>
Public Member Functions | |
| RuntimeError (const std::string &message, int line, int column) | |
| Construct an error tagged with the offending source position. | |
| int | line () const |
| 1-based line number of the offending statement or expression. | |
| int | column () const |
| 1-based column number of the offending statement or expression. | |
Exception thrown when the interpreter encounters a runtime failure.
Mirrors ParseError and SemanticError in shape: carries the source line and column of the offending node alongside a bare message string.