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
- An error occurred while trying to access the request.
UnauthorizedError- 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- The application making the API request has been disabled or is not active.
- ValidateError
- An error occurred while trying to schema validate a message payload.