ForageApiResponse

sealed class ForageApiResponse<out T>

Inheritors

Types

Link copied to clipboard
data class Failure(val errors: List<ForageError>) : ForageApiResponse<Nothing>
Link copied to clipboard
data class Success<out T>(val data: T) : ForageApiResponse<T>