Purpose:

Navigate your users back to where they left off in the host Encompass application, after their has been an error (application error or workflow error) on your integrations user-interface. This signals an error outcome to the host Encompass application - how this is handled by the host upon user navigation can vary across applications.

Sample Usage:

import host from '@elliemae/em-ssf-guest'

...

async function errorInteraction() {
  const transactionObject = await host.getObject('transaction')
  transactionObject.error()
}

errorInteraction()
import host from '@elliemae/em-ssf-guest'

...

host.getObject('transaction')
  .then(
    (transactionObject) => {
      transactionObject.error()
    }
  )

Interface:

Input:

None

Returns:

None