Skip to main content
Skip table of contents

Fault Handling

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.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.