|
Aegis2D
Modular C++26 2D game engine for networked games
|
Where and why a script failed. More...
#include <aegis2d/script/state.hpp>
Public Attributes | |
| std::string | chunk |
| Name of the chunk: the file, or the name given to ScriptState::run(). | |
| int | line = 0 |
| Line of the error in the chunk, or 0 when Lua does not tell it. | |
| std::string | message |
| What went wrong, without the chunk and the line. | |
Where and why a script failed.
| std::string aegis2d::script::ScriptError::chunk |
Name of the chunk: the file, or the name given to ScriptState::run().
| int aegis2d::script::ScriptError::line = 0 |
Line of the error in the chunk, or 0 when Lua does not tell it.
| std::string aegis2d::script::ScriptError::message |
What went wrong, without the chunk and the line.