[−][src]Crate core_error
Traits for working with Error in std-less environments.
Warning
This is a pre-release meant to allow experimentation and integration into the various error handling crates. Please do not use it yet! 1.0.0 is right around the corner.
Usage
This crate provides an Error trait which is identical
to the one in std, except for not providing deprecated methods.
This library also exposes two opt-in features:
std: simply re-exportstd::error::Error.alloc: implement theErrortrait onallocerrors (including boxed types).
Libraries using this crate should forward their equivalent features to this library.
Minimum Supported Rust Version (MSRV)
This crate works all the way down to 1.0.0. It auto-detects the Rust version in order to know which error structs to implement the trait on.
With no-default-features, the crate only compiles from 1.6.0 onwards
(version at which no_std became stable).
Traits
| Error |
|