Expand description
The error prelude.
Re-exports§
pub use super::IgnoreLogging;
pub use super::WithContext;
pub use super::WithContextUntyped;
pub use crate::Result;
Macros§
- _eco_
format - Formats a string.
Create a new
EcoString
from a format string. - bail
- Bails with the given arguments.
- error_
once - Creates an error with a message.
- error_
once_ map - Maps the given error to an error with arguments.
- error_
once_ map_ string - Maps the given string error to an error with arguments.
Functions§
- _error_
once - Creates an error with arguments.
- _msg
- Creates an error with a message.
- map_err
- Maps the given error to an error.
- map_
err_ with_ args - Maps the given error to an error with arguments.
- map_
into_ err - Maps the given error to an error.
- map_
into_ err_ with_ args - Maps the given error to an error with arguments.
- map_
string_ err - Maps the given string error to an error.
- map_
string_ err_ with_ args - Maps the given string error to an error with arguments.
- wrap_
err - Wraps the given error.
- wrap_
err_ with_ args - Wraps the given error with arguments.