/** * A refusal the service meant: a status and a stable code, nothing echoed. * A refusal that the caller is expected to act on rather than merely read, * a halt above all, carries the answer in the shape the caller already * parses and the seconds after which retrying is sensible. */ export declare class ServiceError extends Error { readonly status: number; readonly code: string; /** The body to answer with, when `{ code }` is not enough. */ readonly body?: unknown | undefined; /** Seconds; becomes `Retry-After` when present. */ readonly retryAfterSeconds?: number | undefined; constructor(status: number, code: string, /** The body to answer with, when `{ code }` is not enough. */ body?: unknown | undefined, /** Seconds; becomes `Retry-After` when present. */ retryAfterSeconds?: number | undefined); } //# sourceMappingURL=ServiceError.d.ts.map