Module salvo_extra::catch_panic
source · Available on crate feature
catch-panic
only.Expand description
Catch panic middleware.
Read more: https://salvo.rs
Structs§
- This middleware catches panics and write
500 INTERNAL SERVER ERROR
into response. This middleware should be used as the first middleware.