This library provides some structs and macros to create stackable/traceable errors for your own custom error-kinds.
We provide some macros to create and "throw" an error with a custom kind T
and optionally a custom description and/or
a previous Error<T>
(even for different types of T
).
Additionally we provide two macros to try!
an expression and either convert the resulting error into your
Error<T>
or to include the resulting error as sub-error into a new Error<T>
To build and open the documentation, go into the projects root-directory and run cargo doc --open
.
To build the library, go into the projects root-directory and run cargo build --release
; you can find the build in
target/release.