-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
MuleSoft for Salesforce Developers - Second Edition
By :
Error-handling components form an important part of Mule’s exception-handling strategy. Whenever an error occurs, or an exception is raised, the flow’s execution control is moved to the Error Handling scope, and the error-handling strategy (On Error Continue or On Error Propagate is executed) is implemented (see Figure 4.26):
Figure 4.26: Mule’s error-handling mechanism
Figure 4.26 shows us Mule’s error-handling mechanism. Let us now learn about different Error Handling scopes, starting with On Error Continue. Apart from On Error Continue, there are On Error Propagate, Raise Error, and Error Handler.
If an error occurs and the On Error Continue scope is defined in the Error Handling section, then the flow’s normal execution is stopped and the processors inside the On Error Continue scope are executed.
A success response is returned in the case of On Error Continue.
As seen...