Failure

data class Failure<T>(val exception: Exception) : Response<T>

Represents a failed operation with the exception that caused the failure.

Parameters

exception

The exception that caused the operation to fail.

Constructors

Link copied to clipboard
constructor(exception: Exception)

Properties

Link copied to clipboard
Link copied to clipboard

Indicates whether this response represents a success.