const class obix::ObixErr

sys::Obj
  sys::Err
    obix::ObixErr

Source

ObixErr is used to raise an obix <err> object as a Fantom exception.

contract

const Contract contract

Source

The is attribute of the <err> object

display

const Str display

Source

The display attribute of the <err> object

isBadUri

Bool isBadUri()

Source

Return if the oBIX error defines the obix:BadUriErr contract

make

static new make(ObixObj obj)

Source

Construct error ObixObj

toObj

static ObixObj toObj(Str msg, Err? cause := null)

Source

Convert error message and cause back to an <err> object

toUnresolvedObj

static ObixObj toUnresolvedObj(Uri uri)

Source

Convert to <err> with BadUriErr contract