TerminalException
class TerminalException @JvmOverloads constructor(val errorCode: TerminalErrorCode, val errorMessage: String, val cause: Throwable? = null, val apiError: ApiError? = null) : Exception
A TerminalException
represents an error thrown during SDK operations and will contain a TerminalErrorCode and an errorMessage
to provide more specific details.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
Constructors
Link copied to clipboard
constructor(errorCode: TerminalErrorCode, errorMessage: String, cause: Throwable? = null, apiError: ApiError? = null)
Properties
Link copied to clipboard
The error code associated with this exception.
Link copied to clipboard
The error message associated with this exception.
Link copied to clipboard
If the exception is related to a PaymentIntent, this will return one of three things:
Link copied to clipboard
If the exception is related to a SetupIntent, this will return one of three things: