Package-level declarations

Types

Link copied to clipboard
data class AtpErrorDescription(val error: String, val message: String? = null)

Description of an unsuccessful response.

Link copied to clipboard
class AtpException(val statusCode: StatusCode, val error: AtpErrorDescription? = null) : Exception

An exception thrown for unsuccessful raw API calls and Result-wrapped API calls.

Link copied to clipboard
sealed class AtpResponse<T : Any>

A sealed type representing the result of performing an XRPC operation.

Link copied to clipboard
sealed class StatusCode

Represents a status code returned by an HTTP operation.