ApiErrorType
An enum detailing what type of error is being returned
For more information, see the official Stripe docs: Error types
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
Entries
Failure to connect to Stripe's API.
Failure to properly authenticate yourself in the request.
Card errors are the most common type of error you should expect to handle. They result when the user enters a card that can't be charged for some reason.
Idempotency errors occur when an Idempotency-Key
is re-used on a request that does not match the first request's API endpoint and parameters.
Invalid request errors arise when your request has invalid parameters.
Too many requests hit the API too quickly.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.