Enum hlua::LuaFunctionCallError
[−]
[src]
pub enum LuaFunctionCallError<E> { LuaError(LuaError), PushError(E), }
Error that can happen when calling a LuaFunction
.
Variants
LuaError(LuaError)
Error while executing the function.
PushError(E)
Error while pushing one of the parameters.
Trait Implementations
impl<E: Debug> Debug for LuaFunctionCallError<E>
[src]
impl<E> Display for LuaFunctionCallError<E> where
E: Display,
[src]
E: Display,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<E> From<LuaError> for LuaFunctionCallError<E>
[src]
fn from(err: LuaError) -> LuaFunctionCallError<E>
[src]
Performs the conversion.
impl<E> Error for LuaFunctionCallError<E> where
E: Error,
[src]
E: Error,
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more