Ergonomic ResponseError via derive macro #3813
Unanswered
Brayan-724
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I actually use
actix_failwrapcrate (previouslyactix_error_proc), it adds some macros that make error management so easy, similar to howResponseErrorworks, but that crate don't useResponseErrorso I think it would be good to have similar macros built-in. Currently, I will be using my fork ofactix_failwrapthat usesResponseError.This is how it would be (the example is pretty invalid/silly):
Beta Was this translation helpful? Give feedback.
All reactions