ResultS1SDK

sealed class ResultS1SDK<out T, out E>

ResultS1SDK is a sealed class that represents the result of an operation.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
data class Error<out E>(val error: E) : ResultS1SDK<Nothing, E>

Error is a sealed class that represents the result of an operation that has failed.

Link copied to clipboard
data class Success<out T>(val data: T) : ResultS1SDK<T, Nothing>

Success is a sealed class that represents the result of an operation that has succeeded.