//#region src/types/indexerErrorCodes.d.ts /** * Numeric error codes returned by the indexer service API. Codes shared across all Nado backend * services (see {@link NADO_ERROR_CODES}) are inlined via spread; indexer-specific codes are in * the 3xxx range and come from the backend's `ResponseError` enum (see `nado-utils/src/error.rs`). * * The indexer failure envelope is returned on the v1 query routes (see * {@link IndexerServerFailureResponse}); the v2 routes return REST-style HTTP errors without an * `error_code` field. */ declare const INDEXER_ERROR_CODES: { /** digests cannot be combined with subaccount/product_ids filters. */readonly DIGESTS_NOT_ALLOWED: 3000; /** Too many digests provided for the given limit. */ readonly DIGESTS_EXCEED_LIMIT: 3001; /** subaccount parameter is required for this query. */ readonly MISSING_SUBACCOUNT: 3002; /** Invalid max_timestamp / granularity / count interval. */ readonly INVALID_INTERVAL: 3003; /** Withdrawal transaction not found at the given index. */ readonly INVALID_WITHDRAWAL_IDX: 3004; /** Not enough fast-withdrawal signatures for the transaction. */ readonly NOT_ENOUGH_FAST_WITHDRAWAL_SIGNATURES: 3005; /** subaccounts parameter is required for this query. */ readonly MISSING_SUBACCOUNTS: 3006; /** Too many subaccounts provided. */ readonly SUBACCOUNTS_LIMIT_EXCEEDED: 3007; readonly RATE_LIMIT: 1000; readonly BLACKLISTED_ADDRESS: 1001; readonly BLOCKED_LOCATION: 1002; readonly BLOCKED_SUBDIVISION: 1003; readonly MAINTENANCE: 1004; readonly GATEWAY_INVALID_REQUEST: 1005; readonly SERVICE_UNAVAILABLE: 1006; readonly INVALID_SIGNER: 2028; readonly PERP_TICK_FORMATTING: 4000; readonly NOT_IMPLEMENTED: 4001; readonly TEMPORARILY_DISABLED_MINT_LP: 4002; readonly EVM_REVERT: 4003; readonly WITHDRAW_RISK: 4004; readonly INTERNAL_ERROR: 5000; }; /** * Union of all known indexer service API error codes. */ type IndexerErrorCode = (typeof INDEXER_ERROR_CODES)[keyof typeof INDEXER_ERROR_CODES]; //#endregion export { IndexerErrorCode as n, INDEXER_ERROR_CODES as t }; //# sourceMappingURL=indexerErrorCodes-CCLbuXcx.d.cts.map