ApiErrorException
Implements properties and methods common to all (non-SPL) Stripe exceptions.
Description Description
Source Source
File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/Exception/ApiErrorException.php
Methods Methods
- __toString — Returns the string representation of the exception.
- constructErrorObject
- factory — Creates a new API error exception.
- getError — Gets the Stripe error object.
- getHttpBody — Gets the HTTP body as a string.
- getHttpHeaders — Gets the HTTP headers array.
- getHttpStatus — Gets the HTTP status code.
- getJsonBody — Gets the JSON deserialized body.
- getRequestId — Gets the Stripe request ID.
- getStripeCode — Gets the Stripe error code.
- setError — Sets the Stripe error object.
- setHttpBody — Sets the HTTP body as a string.
- setHttpHeaders — Sets the HTTP headers array.
- setHttpStatus — Sets the HTTP status code.
- setJsonBody — Sets the JSON deserialized body.
- setRequestId — Sets the Stripe request ID.
- setStripeCode — Sets the Stripe error code.