Skip to main content

Module error

Module error 

Source
Expand description

LuaError and its canonical constructors. PORT_STRATEGY §3.7, PORTING.md §6.

Structs§

LuaExit
Internal control-flow payload used by the standalone CLI to implement os.exit without making Lua protected calls catch it as an ordinary error.
LuaThreadClose
Internal control-flow payload for Lua 5.5 coroutine.close() self-close. It is caught at the coroutine resume boundary; panic hooks should suppress it like LuaExit because it is not a Rust runtime panic.

Enums§

LuaError
The Lua error type. Carries a LuaValue payload because Lua errors can be any value (typically a string).