The fault handling policy provides a way to customize the error response and to remove sensitive information, if any, in the data that is sent back to the client.
It is an extension of the Build Message policy and helps in setting the error response code and error response phrase.
Configuration
Refer the Build Message section for property descriptions.
Figure 1: Fault Handling Policy Configuration attributes
Example
The Handling Errors example demonstrates how 404 (Not found) errors can be customized so that the API user is provided with a customized JSON response.
Overview
Content Tools
ThemeBuilder