Contents

Popular
 Contents

The fault handling policy provides a way to customize the error response and to remove sensitive information 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 to 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.

 

Adaptavist ThemeBuilder EngineAtlassian Confluence