diff --git a/docs/book/src/intro/errors.md b/docs/book/src/intro/errors.md index 99a65914..87226196 100644 --- a/docs/book/src/intro/errors.md +++ b/docs/book/src/intro/errors.md @@ -131,7 +131,7 @@ gives a good overview and background on this topic. You can declare your own `macro_rules` in case there are common patterns for the services and middlewares that you are writing for your project. For inspiration you can see the http rejection macros we borrowed and modified from [Axum's extract logic](https://github.com/tokio-rs/axum/blob/5201798d4e4d4759c208ef83e30ce85820c07baa/axum-core/src/macros.rs): - + And of course... if you really want, against our advice in, you can use [the `thiserror` crate](https://docs.rs/thiserror), diff --git a/rama-error/src/lib.rs b/rama-error/src/lib.rs index 18c40863..945f49b0 100644 --- a/rama-error/src/lib.rs +++ b/rama-error/src/lib.rs @@ -169,7 +169,7 @@ //! and middlewares that you are writing for your project. For inspiration you can //! see the http rejection macros we borrowed and modified from //! [Axum's extract logic](https://github.com/tokio-rs/axum/blob/5201798d4e4d4759c208ef83e30ce85820c07baa/axum-core/src/macros.rs): -//! +//! //! //! And of course... if you really want, against our advice in, //! you can use [the `thiserror` crate](https://docs.rs/thiserror),