Error Handling Flashcards
What is onErrorPropagate?
It’s error in and error out doesn’t modify the error if thrown from validation and throws the error as it is.
What is onErrorContinue?
It’s error in and success out
Which all levels we can handle errors?
Processor level, Flow level, Global error handler
What is the breakup of ErrorType?
ErrorType can be broken into Namespace and Identifier.
What are Mule Error Wrapper?
In Mule4 all errors are error wrappers around Java errors
How to create Global Error Handler?
We can configure Global Error Handler by configuring the global element configuration and then specifying the global configuration path
In error type APIKIT:BAD_REQUEST what is error Identifier and error namespace?
In APIKIT:BAD_REQUEST error namespace is APIKIT and error namespace is BAD_REQUEST
What are the error scopes of main routing flow?
APIKIT:BAD_REQUEST: 400, APIKIT:NOT_FOUND: 404 APIKIT:METHOD_NOT_ALLOWED: 405 APIKIT:NOT_ACCEPTABLE: 406 APIKIT:UNSUPPORTED_MEDIA_TYPE: 415 APIKIT:NOT_IMPLEMENTED: 501
What is the status code of APIKIT:BAD_REQUEST
400
What is the status code of APIKIT:NOT_FOUND
404
What is the status code of APIKIT:METHOD_NOT_ALLOWED
405
What is the status code of APIKIT:NOT_ACCEPTABLE
406
What is the status code of APIKIT:UNSUPPORTED_MEDIA_TYPE
415
What is the status code of APIKIT:NOT_IMPLEMENTED
501
What are different types of Application errors in Mule?
Messaging error and System error