AptosSdkError

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

Inheritors

Types

Link copied to clipboard
data class ApiError(val apiError: AptosApiError) : AptosSdkError

Represents a structured error returned by the Aptos REST API. This means the server successfully responded but indicated a failure.

Link copied to clipboard

Represents a failure to parse or handle a response from the server.

Link copied to clipboard
data class NetworkError(val cause: Throwable) : AptosSdkError

A network, serialization, or other I/O-related issue.

Link copied to clipboard
data class UnknownError(val cause: Throwable) : AptosSdkError

An unexpected error during the request processing.