Defines the common shape of expected and unexpected errors. Expected errors are thrown using the error function. Unexpected errors are handled by the handleError hooks which should return this shape.
error
handleError
Defines the common shape of expected and unexpected errors. Expected errors are thrown using the
error
function. Unexpected errors are handled by thehandleError
hooks which should return this shape.