Skip to main content

Module error

Module error 

Source
Expand description

Lua error handling.

This module provides the Error type returned by all fallible mlua operations, together with extension traits for adapting Rust errors for use within Lua.

Enums§

Error
Error type returned by mlua methods.

Traits§

ErrorContext
Provides the context method for Error and Result<T, Error>.
ExternalError
Trait for converting std::error::Error into Lua Error.
ExternalResult
Trait for converting std::result::Result into Lua Result.

Type Aliases§

Result
A specialized Result type used by mlua’s API.