This commit is contained in:
Harald Hoyer 2018-12-21 16:11:58 +01:00
parent 8c166b5156
commit f972b5f703

View file

@ -19,7 +19,7 @@ src/main.rs:40: func1 error calling func2
which gives us a lot more detail. which gives us a lot more detail.
To create your own Errors, you might find [crates](https://crates.io) which crate enum `Display+Debug` via derive macros. To create your own Errors, you might find [crates](https://crates.io) which create enum `Display+Debug` via derive macros.
Also noteworthy is [custom_error](https://crates.io/crates/custom_error) to define your custom errors, Also noteworthy is [custom_error](https://crates.io/crates/custom_error) to define your custom errors,
which can then be used with `chainerror`. which can then be used with `chainerror`.