Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AptosApiError(val message: String, val errorCode: String, val vmErrorCode: Long? = null) : Exception

Represents a structured error response from the Aptos REST API.

Link copied to clipboard
class AptosApiErrorV1(val request: AptosRequest, val response: AptosResponse, message: String) : Exception

The type returned from an API error

Link copied to clipboard
open class AptosClientException(message: String, cause: Throwable? = null) : Exception

The base class for all exceptions originating from the Aptos client SDK.

Link copied to clipboard

A typed representation of the specific error codes returned by the Aptos API.

Link copied to clipboard
Link copied to clipboard

Represents an error that occurred during a GET request to the Aptos REST API.

Link copied to clipboard
data class ErrorLocation(val line: Int, val column: Int)
Link copied to clipboard
data class GraphQLError(val message: String, val locations: List<ErrorLocation>? = null, val path: List<Any>? = null, val extensions: Map<String, Any?>? = null)
Link copied to clipboard
open class ParsingException(message: String) : Exception

This error is used to explain why parsing failed.

Link copied to clipboard