Class | Description |
---|---|
ApiError |
Representation of an individual error handling an API request.
|
ApiErrorResponse | |
GoCardlessErrorMapper |
Provides a mapping between API error responses and exceptions.
|
Enum | Description |
---|---|
ErrorType |
Types of error that can be returned by the API.
|
Exception | Description |
---|---|
GoCardlessApiException |
Base class for exceptions that are thrown as a result of error responses from the API.
|
GoCardlessInternalException |
Exception thrown when an internal error occurred while processing your request.
|
InvalidApiUsageException |
Exception thrown when there is an error with the request you made.
|
InvalidSignatureException |
Exception thrown when the signature included in a webhook doesn’t match one computed using the webhook endpoint’s secret and the request body, indicating that the webhook is not genuinely from GoCardless
|
InvalidStateException |
Exception thrown when the action you are trying to perform is invalid due to the state of the resource you are requesting it on.
|
MalformedResponseException |
Exception thrown when a response is returned from the API which isn’t valid JSON (for example, an HTML error page returned from a load balancer)
|
ValidationFailedException |
Exception thrown when the parameters submitted with your request were invalid.
|
Representations of API errors.