ApiResult

sealed class ApiResult

Encapsulates a generic API result.

Inheritors

Types

Link copied to clipboard
data class Failure(val error: Throwable) : ApiResult

Encapsulates a failed API result.

Link copied to clipboard

Encapsulates a successful API result.