AptosApiError

class AptosApiError(val request: AptosRequest, val response: AptosResponse, message: String) : Exception

The type returned from an API error

Constructors

Link copied to clipboard
constructor(request: AptosRequest, response: AptosResponse, message: String)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val data: Any

the response data

Link copied to clipboard
open val message: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Int
Link copied to clipboard
Link copied to clipboard
val url: String

the url the request was made to

Functions

Link copied to clipboard
open override fun toString(): String