InvalidResponseException

class InvalidResponseException(stripeError: StripeError?, requestId: String?, statusCode: Int, message: String?, cause: Throwable?) : StripeException

A StripeException indicating that invalid parameters were used in a response. E.g when the response contains a null field that shouldn't be null, or contains an unknown Enum value that's not defined in the SDK.

Constructors

Link copied to clipboard
fun InvalidResponseException(stripeError: StripeError? = null, requestId: String? = null, statusCode: Int = 0, message: String? = stripeError?.message, cause: Throwable? = null)

Functions

Link copied to clipboard
fun addSuppressed(p0: Throwable)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open fun fillInStackTrace(): Throwable
Link copied to clipboard
open fun getLocalizedMessage(): String
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val isClientError: Boolean
Link copied to clipboard
open val message: String?
Link copied to clipboard
val requestId: String? = null
Link copied to clipboard
val statusCode: Int = 0
Link copied to clipboard
val stripeError: StripeError? = null