Closed fgadaleta closed 2 years ago
Running this example about error handling on mutation
actix-web/error-extensions/src/main.rs
I get
error: cannot find derive macro `Error` in this scope | #[derive(Debug, Error)] | ^^^^^
How am I supposed to use Error with actix-web = { version = "4.0.0-beta.13", default-features = false } ?
Error
actix-web = { version = "4.0.0-beta.13", default-features = false }
This macro is from the thiserror crate.
thiserror
Running this example about error handling on mutation
actix-web/error-extensions/src/main.rs
I get
How am I supposed to use
Error
withactix-web = { version = "4.0.0-beta.13", default-features = false }
?