Defines an Error Handler.

Error Handler can be used to Catch any unhandled (not handled by a Failure Handler) error in an Action chain.
To do so, place the Error Handler immediately under an Event, an AppEvent, a PageEvent, a SharedAction or a Subscribe Handler.
If an unhandled error occurs in the action chain, whatever the depth the error was generated, the actions placed under the Error Handler will be executed.

If an error is handled by a Failure Handler, the Error Handler will not be executed unless an Error action is explicitly executed in the Failure Handler chain.

Error Handler generates a out object containing a message property you can use as a (TS) input for other actions, for example a ToastAction. The message will be the one explicitly set by the Error action , or the original error message generated by the failed Action if no Error action has been executed.

Property Type Category Description
Comment String standard Describes the object comment to include in the documentation report.
This property generally contains an explanation about the object.
Is active boolean standard Defines whether the component is active.