Error Handling

How can we set generic error handler in api proxy ie., whenever there is exception in proxy the raisefault policy which has customized message and respective status code has to be triggered.

0 1 167
1 REPLY 1

This might help -

https://community.apigee.com/content/kbentry/23724/an-error-handling-pattern-for-apigee-proxies.html, use `AssignMessage` policy instead of `RaiseFault`;

P.S. If this answers your question then please accept this as answer.