Error

data class Error<T : Failure>(val cause: T) : SessionResult<T>

Deprecated (with error)

This type is redundant, Session.State.Failed covers this type's use cases. This type will be removed in next minor release.

Replace with

import ru.solrudev.ackpine.session.Session
Session.State.Failed

Session completed with an error.

Constructors

Link copied to clipboard
constructor(cause: T)

Properties

Link copied to clipboard
val cause: T

an instance of Failure describing the error.