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 contract
The
is
attribute of the<err>
object - display
-
const Str display
The
display
attribute of the<err>
object - isBadUri
-
Bool isBadUri()
Return if the oBIX error defines the
obix:BadUriErr
contract - 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