Error Handling Flashcards

1
Q

What is onErrorPropagate?

A

It’s error in and error out doesn’t modify the error if thrown from validation and throws the error as it is.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is onErrorContinue?

A

It’s error in and success out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which all levels we can handle errors?

A

Processor level, Flow level, Global error handler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the breakup of ErrorType?

A

ErrorType can be broken into Namespace and Identifier.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are Mule Error Wrapper?

A

In Mule4 all errors are error wrappers around Java errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How to create Global Error Handler?

A

We can configure Global Error Handler by configuring the global element configuration and then specifying the global configuration path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In error type APIKIT:BAD_REQUEST what is error Identifier and error namespace?

A

In APIKIT:BAD_REQUEST error namespace is APIKIT and error namespace is BAD_REQUEST

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the error scopes of main routing flow?

A
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the status code of APIKIT:BAD_REQUEST

A

400

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the status code of APIKIT:NOT_FOUND

A

404

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the status code of APIKIT:METHOD_NOT_ALLOWED

A

405

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the status code of APIKIT:NOT_ACCEPTABLE

A

406

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the status code of APIKIT:UNSUPPORTED_MEDIA_TYPE

A

415

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the status code of APIKIT:NOT_IMPLEMENTED

A

501

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are different types of Application errors in Mule?

A

Messaging error and System error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How to add reliability to an outbound request?

A

Reconnection Strategy

17
Q

When do we use custom error types in Mule?

A

Whenever we want to customize the error we are throwing.