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
errorfunction. Unexpected errors are handled by thehandleErrorhooks which should return this shape.