Relaxed error handling #140
the-toster
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After several years of using this great library, I became to conclusion that
*Server
should not catch non-\Twirp\Error
exceptions-).I'm using it along with laravel framework, and it already has own exception-handling part, and believe it's framework responsibility to handle application-level exceptions.
Framework can generate corresponding twirp-compatible responses using some library methods.
It will cover cases like this - #67
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions