-
How to customise 3rd party errors? |
Beta Was this translation helpful? Give feedback.
Answered by
RobinTail
Mar 30, 2023
Replies: 2 comments 1 reply
-
@McMerph , In your configuration you can specify a custom result handler for such errors. It can respond in a plain text. // custom ResultHandlerDefinition for common errors,
// default: defaultResultHandler()
errorHandler?: ResultHandlerDefinition<any, any>; |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
RobinTail
-
It works! Thank you, @RobinTail ! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@McMerph ,
In your configuration you can specify a custom result handler for such errors. It can respond in a plain text.