Failure

data class Failure(val error: CoreFailure) : MessageOperationResult

Indicates the message operation failed.

Parameters

error

The error that occurred during the operation.

Constructors

Link copied to clipboard
constructor(error: CoreFailure)

Properties

Link copied to clipboard
val error: CoreFailure

Functions

Link copied to clipboard
@HiddenFromObjC
fun toEither(): Either<CoreFailure, Unit>

Converts this result to an Either type for internal Kalium use or JVM/Android clients. This function is hidden from iOS/Swift to maintain a clean Swift API.