/** * Represents an error sending a request to the Bungie API */ import { PlatformErrorCodes } from '../schemas'; import { BungieNetResponse } from '../util/server-response'; export declare class BungieAPIError extends Error implements BungieNetResponse { readonly DetailedErrorTrace: string; readonly ErrorCode: PlatformErrorCodes; readonly ErrorStatus: string; readonly Message: string; readonly MessageData: { [p: string]: string; }; readonly Response: T; readonly ThrottleSeconds: number; readonly ResponseTime: number; constructor(response: BungieNetResponse); }