Error cases supported by assembly catches

Several error cases that can be returned by the assembly are available to the catch function.

ConnectionError
An error occurred while establishing a connection to another URL.
JavaScriptError
An error occurred while executing JavaScript or GatewayScript in a policy.
PropertyError
An error occurred due to an incorrect property during an invoke call or during the execution of a set-variable policy when an action was not set, add, or clear.
RedactionError
An error occurred during the redaction of a field as part of a redact policy.
TransformError
An error occurred during a transformation policy.
RuntimeError
An otherwise unspecified error occurred.
BadRequestError
(From API Connect version 5.0.8.3 onward)

An error occurred while trying to access the request.

UnauthorizedError
(From API Connect version 5.0.8.3 onward)

The API cannot be invoked based on the client ID and/or client secret provided, or id/secret were specified in the wrong location.

ForbiddenError
(From API Connect version 5.0.8.3 onward)

The application making the API request has been disabled or is not active.

ValidateError
(From API Connect version 5.0.8.5 onward)

An error occurred while trying to schema validate a message payload.