Enum rlua::LuaErrorKind
[−]
pub enum LuaErrorKind { Msg(String), ExternalError(LuaExternalError), Utf8Error(Utf8Error), NulError(NulError), BorrowError(BorrowError), BorrowMutError(BorrowMutError), ScriptError(String), CallbackError(String), IncompleteStatement(String), CoroutineInactive, }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
ExternalError(LuaExternalError)
Utf8Error(Utf8Error)
NulError(NulError)
BorrowError(BorrowError)
BorrowMutError(BorrowMutError)
ScriptError(String)
CallbackError(String)
IncompleteStatement(String)
CoroutineInactive
Methods
impl LuaErrorKind
fn description(&self) -> &str
A string describing the error kind.