Error

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.

Return

ResultS1SDK<Nothing, E> the result of the operation.

Parameters

error

E the error that occurred.

Constructors

Link copied to clipboard
constructor(error: E)

Properties

Link copied to clipboard
val error: E