### Adding and Configuring Raise Error Actions in Message Flows

Use the raise error action to raise an exception with a specified error code (a string) and description.

Before you begin

Display the message flow for the desired proxy service. See Constructing Proxy Service Message Flows.

To add a raise error action

1. In the Message Flow Design Palette, open the Stage Actions > Flow Control list, if it is not already open.
2. Drag the raise error action to the desired location in the message flow.

To configure the raise error action

1. In the Message Flow Editor, click the raise error action, if it is not already selected.
2. On the Raise Error Action Properties page, edit properties as appropriate.