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