classafButter::ErrOn5xxMiddleware
sys::Obj afButter::ErrOn5xxMiddleware : afButter::ButterMiddleware
(Middleware) - Throws BadStatusErr when a HTTP response returns a 5xx status code. This indicates a server error.
- enabled
Bool enabled := true
If set to
true
, this middleware throws a BadStatusErr on a 5xx status code. Defaults totrue
.