You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not currently, and I don't think we would add something so wide-reaching. Depending on what you want to do with it exactly, it may not even be possible in stable rust (see also #1232 (comment) RE: non_static_type_id). If you can provide more details on why you want a global error handler such as this I might be able to help more.
Hi.
I would like to intercept all possible errors in a Rocket application, something like this:
So, is there any type to declare instead of
???
and intercept ANY error (from Serde, Diesel, std::io and so on) in the application?Thank you!
The text was updated successfully, but these errors were encountered: