const classafButter::BadStatusErr

sys::Obj
  sys::Err
    afButter::BadStatusErr

Throw by ErrOnXxxMiddleware when a HTTP response returns a bad status code.

make

Source

new make(Int statusCode, Str statusMsg, Str msg := "", Err? cause := null)

statusCode

Source

const Int statusCode

The failing HTTP response status code

statusMsg

Source

const Str statusMsg

The failing HTTP response status message