const class obix::ObixErr
sys::Obj sys::Err obix::ObixErr
ObixErr is used to raise an obix <err> object as a Fantom exception.
- contract
-
const Contract contractThe
isattribute of the<err>object - display
-
const Str displayThe
displayattribute of the<err>object - isBadUri
-
Bool isBadUri()Return if the oBIX error defines the
obix:BadUriErrcontract - make
-
static new make(ObixObj obj)Construct error ObixObj
- toObj
-
static ObixObj toObj(Str msg, Err? cause := null)Convert error message and cause back to an
<err>object - toUnresolvedObj
-
static ObixObj toUnresolvedObj(Uri uri)Convert to
<err>with BadUriErr contract