TerminalException
class TerminalException @JvmOverloads constructor(errorCode: TerminalException.TerminalErrorCode, errorMessage: String, cause: Throwable?, apiError: ApiError?) : Exception
Content copied to clipboard
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
fun TerminalException(errorCode: TerminalException.TerminalErrorCode, errorMessage: String, cause: Throwable? = null, apiError: ApiError? = null)
Content copied to clipboard
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Properties
Link copied to clipboard
If the exception is related to a PaymentIntent, this will return one of three things: