Expand description
Alias for std::error::BasicError.
Modules§
- assert
- Assertions.
- exposed
- Exposed namespace of the module.
- orphan
- Shared with parent namespace of the module
- own
- Own namespace of the module.
- prelude
- Prelude to use essentials:
use my_module::prelude::*. - typed
- Typed exceptions handling mechanism.
- untyped
- Untyped exceptions handling mechanism.
Macros§
- debug_
assert_ id - Macro asserts that two expressions are identical to each other. Unlike
std::assert_eqit is removed from a release build. - debug_
assert_ identical - Macro asserts that two expressions are identical to each other. Unlike
std::assert_eqit is removed from a release build. Alias ofdebug_assert_id. - debug_
assert_ ni - Macro asserts that two expressions are not identical to each other. Unlike
std::assert_eqit is removed from a release build. - debug_
assert_ not_ identical - Macro asserts that two expressions are not identical to each other. Unlike
std::assert_eqit is removed from a release build.
Traits§
- ErrWith
- This trait allows adding extra context or information to an error, creating a tuple of the additional context and the original error. This is particularly useful for error handling when you want to include more details in the error without losing the original error value.
- Error
Trait Erroris a trait representing the basic expectations for error values, i.e., values of typeEinResult<T, E>.
Type Aliases§
- Result
With Report - A type alias for a
Resultthat contains an error which is a tuple of a report and an original error.