- Pods
- draft 1.4
- API
- DraftErr
const classdraft::DraftErr
sys::Obj
sys::Err
draft::DraftErr
DraftErr is thrown while servicing a request from DraftMod.
errCode
Source
const Int errCode
HTTP error code for this error.
make
Source
new make(Int errCode, Err? cause := null)
makeRedirect
Source
new makeRedirect(Uri uri)
Construct a DraftErr that will redirect to a given URI. This will always be a 303 temporary redirect.
redirectUri
Source
const Uri? redirectUri