Throw policy commands
Throw policy mode provides the commands to specify a throw policy.
To enter the mode, use the global assembly-throw command. To delete a throw policy, use the global no assembly-throw command.
While in this mode, use the commands in the following table to define the throw policy.
- To view the current configuration, use the show command.
- To restore default values, use the reset command.
- To exit this configuration mode without saving changes to the running configuration, use the cancel command.
- To exit this configuration mode and save changes to the running configuration, use the exit command.
| Command | Purpose |
|---|---|
| admin-state | This command sets the administrative state for the configuration. |
| correlation-path | This command specifies the part of the API definition that correlates with the policy. |
| error-id | This command specifies the identifier of a custom error that is thrown in the throw policy. |
| error-status-code | This command specifies the HTTP status code of an error from an assembly catch. |
| error-status-reason | This command specifies the HTTP reason phrase for an error from an assembly catch. |
| error-text | This command specifies the text for a custom error message that is thrown in the throw policy. |
| summary | This command specifies the brief, descriptive summary for the object instance. |
| title | This command specifies the title for the configuration. |