BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
15 / 81 · Module 7 — Error Handling in Mule · filtered: interview← prev⊞ allnext →

7.21Global Error Handler

If every API flow repeats:

CONNECTIVITY → standardized response
UNAUTHORIZED → standardized response
ANY → standardized response

you can define a reusable/global error handler and reference it.

This helps enforce consistent behavior.

Good candidates:

common logging
standard HTTP error schema
correlation ID
generic unexpected-error mapping

But business-specific failures may still belong locally.