StytchInternalError

data class StytchInternalError(val exception: Throwable? = null, val message: String = "An internal error has occurred. Please contact Stytch if this occurs.") : StytchSDKError

Thrown when all else fails. We should audit our usage of this and see if it makes sense to create classes for these

Constructors

Link copied to clipboard
constructor(exception: Throwable? = null, message: String = "An internal error has occurred. Please contact Stytch if this occurs.")

Properties

Link copied to clipboard
open override val exception: Throwable? = null

an optional Throwable that caused this error to occur

Link copied to clipboard
open override val message: String

a string describing what went wrong