Failure
data class Failure<T : Any>(val statusCode: StatusCode, val response: T?, val error: AtpErrorDescription?, val headers: Map<String, String>) : AtpResponse<T>
A failed XRPC operation that may have returned a valid response, valid error description, or neither.
Constructors
Link copied to clipboard
constructor(statusCode: StatusCode, response: T?, error: AtpErrorDescription?, headers: Map<String, String>)