Expand description
Error types for rilua.
Maps to PUC-Rio’s error status codes:
LUA_ERRRUN(2) — runtime errorLUA_ERRSYNTAX(3) — syntax error during parsingLUA_ERRMEM(4) — memory allocation errorLUA_ERRERR(5) — error in error handler
Structs§
- Runtime
Error - Runtime error with error object and traceback.
- Syntax
Error - Syntax error with source location.
- Trace
Entry - A single entry in a stack traceback.
Enums§
- LuaError
- Top-level error type for all rilua errors.
Functions§
- chunkid
- Formats a raw source name for display in error messages.
- runtime_
error - Creates a
LuaError::Runtimewith the given message.
Type Aliases§
- LuaResult
- Result type alias used throughout rilua.