StytchResult

sealed class StytchResult<out T>

Provides a wrapper for responses from the Stytch API

Types

Link copied to clipboard
data class Error(val exception: StytchExceptions) : 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

Inheritors

Link copied to clipboard
Link copied to clipboard