Docs.rs
error_mapper-0.3.11
error_mapper 0.3.11
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
tommyHellraiser
Dependencies
actix-web ^4.4.0
normal
chrono ^0.4.26
normal
lazy_static ^1.4.0
normal
mysql_async ^0.32.2
normal
reqwest ^0.11.20
normal
serde ^1.0.188
normal
serde_json ^1.0.107
normal
tokio ^1.29.1
normal
Versions
5%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
error_
mapper
0.3.11
All Items
Crate Items
Macros
Structs
Enums
Type Aliases
Crate
error_mapper
Copy item path
Source
Macros
§
create_
new_
error
map_
to_
new_
error
Macro that receives the
error to map
, and uses the From trait to convert it into a standard
TheError
struct.
traceback
Structs
§
TheError
Struct that contains the
error
itself mapped within a
TheErrorType
struct, with its
error content
configured in the origin crate, the
file
,
location
,
datestamp
and
timestamp
data of when the error was remapped using the map_to_new_error! macro.
TheError
Type
Smaller error struct to contain the
mapped error type
as a
SystemErrorCodes
enum and the
error content
from the origin error
Enums
§
System
Error
Codes
Main enum that contains all the possible
error types
that can be mapped from the supported crate’s
origin errors
Type Aliases
§
TheResult
Alias to a Result<T, TheError> type, with TheError being a struct that contains extra details of the original error