Crate ruspiro_error

Source
Expand description

§Basic Error trait

This is more or less the same as found in Rust std library: Error but made available in [no_std] expecting an allocator to be in place, which provided with ruspiro-allocator.

Structs§

GenericError
The most generic Error type. This can be used if no specific error type will be implemented and returning an erro only containing an error message is sufficient.

Traits§

Error
The generic Error trait. All actual errors implementing this trait also need to implement Debug and Display to provide human readable text of the error.

Type Aliases§

BoxError
The type that shall be used as Error type when returning a Result. This allows the usage of the ? operator on functions or methods.