const classafBedSheet::HttpStatus

sys::Obj
  afBedSheet::HttpStatus

Return from request handlers to send the appropriate response to the client.

cause

Source

const Err? cause

The Err which caused this http status. Generally used with a HTTP Status Code of 500.

code

Source

const Int code

The HTTP status code.

@see web::WebRes.statusMsg

make

Source

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

msg

Source

const Str msg

The HTTP status message.

@see web::WebRes.statusMsg