const classafBedSheet::HttpStatusErr

sys::Obj
  sys::Err
    afBedSheet::HttpStatusErr

Throw at any point to return / handle the http status.

By default the Err msg is sent to the client.

Note there's a fine line between helping the developer and helping a hacker, so be careful what msgs you construct your Err with!

make

Source

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

statusCode

Source

const Int statusCode

The HTTP (error) status code for this error.

@see web::WebRes.statusMsg