Error

class Error<T>(throwable: Throwable, data: T? = null) : Resource<T>

class using for error state

Constructors

Link copied to clipboard
constructor(throwable: Throwable, data: T? = null)