AxpFailureResult

data class AxpFailureResult<T>(val error: AxpSdkError) : AxpResult<T>

Result type returned when an operation has failed.

Parameters

error

Object identifying the error that occurred.

Constructors

Link copied to clipboard
constructor(error: AxpSdkError)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun onSuccess(lambda: (T) -> Unit)

If the result is a success, execute the lambda with the returned value.