BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
128 / 278 · Module 7 — Error Handling in Mule · filtered: code← prev⊞ allnext →

7.8Handler order matters

Mule routes to the first matching handler.

So this is risky:

ANY
↓
specific Salesforce error

because:

ANY

already catches it.

Better:

specific errors
specific errors
fallback ANY

Same idea as:

catchSpecificFirst();
catchGenericLast();