StytchResult

sealed class StytchResult<out T> : Parcelable

Provides a wrapper for responses from the Stytch API

Inheritors

Types

Link copied to clipboard
data class Error(val exception: StytchError) : StytchResult<Nothing>

Data class that can hold a StytchException

Link copied to clipboard
data class Success<out T>(val value: T) : StytchResult<T>

Data class that can hold a successful response from a Stytch endpoint