Types

Link copied to clipboard
object Companion
Link copied to clipboard

Represents a failure to parse the GraphQL response.

Link copied to clipboard
data class GraphQL(val errors: List<GraphQLError>) : AptosIndexerError

Represents a list of GraphQL-specific errors returned in the response body. This is the most common type of error for the Indexer.

Link copied to clipboard
data class MissingField(val field: String) : AptosIndexerError

Represents a failure because an expected, non-nullable field was missing from the GraphQL response data.

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

Represents an underlying HTTP or Network failure when trying to reach the Indexer.