GraphQLResult

sealed interface GraphQLResult<out T>

Inheritors

Properties

Link copied to clipboard
open val isFailure: Boolean
Link copied to clipboard
open val isSuccess: Boolean

Functions

Link copied to clipboard
open fun exceptionOrNull(): <Error class: unknown class>?
Link copied to clipboard
Link copied to clipboard
open fun <R> fold(onSuccess: (value: T) -> R, onFailure: (exception: Throwable) -> R): R
Link copied to clipboard
open fun getOrThrow(): T