StytchExceptions

sealed class StytchExceptions : Exception

Exception wrapper meant for use with Stytch-specific exceptions and provides a straightforward way to encompass any possible errors that come from the SDK.

Types

Link copied to clipboard
class Connection(val reason: Throwable) : StytchExceptions

Connection exception wrapper

Link copied to clipboard
class Critical(val reason: Throwable) : StytchExceptions

Critical exception wrapper

Link copied to clipboard
class Input(val reason: String) : StytchExceptions

Input exception wrapper

Link copied to clipboard
class Response(val reason: StytchErrorResponse?) : StytchExceptions

Response exception wrapper

Properties

Link copied to clipboard
open val reason: Any?

provides a reasoning as to what exactly happened for the flow to go wrong.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard