Struct salvo_core::catcher::CatcherImpl
source · pub struct CatcherImpl;
Expand description
Default implementation of Catcher
.
If http status is error, and user is not set custom catcher to catch them,
CatcherImpl
will catch them.
CatcherImpl
supports sending error pages in XML
, JSON
, HTML
, Text
formats.