IndexerQueryError
For the complete documentation index, see llms.txt
Midnight.js API Reference v4.1.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-indexer-public-data-provider / IndexerQueryError
Class: IndexerQueryError
An error raised when an Apollo query or fetch fails at the transport layer
(network failure, malformed response, Apollo client error), distinct from
the case where the server returns a well-formed response containing
GraphQLFormattedError entries, which is reported via
IndexerFormattedError.
Preserves the original Apollo error via Error.cause so consumers can
inspect network details and the original stack.
Extends
Constructors
Constructor
new IndexerQueryError(
message,options?):IndexerQueryError
Parameters
message
string
options?
ErrorOptions
Returns
IndexerQueryError