/** * Canonical error-code union for RetryPolicyExecutionError */ export type RetryPolicyErrorCode = 'RETRY_EXECUTION_ERROR' | 'RETRY_EXHAUSTED' | 'RETRY_ABORTED'; /** * Error thrown when retry execution fails (exhausted or aborted). * * Uses native ES2022 `Error.cause` so the upstream failure is preserved * for downstream error-chain inspection (`@bernierllc/logger` helpers). */ export declare class RetryPolicyExecutionError extends Error { readonly code: RetryPolicyErrorCode | string; readonly context: Record | undefined; constructor(message: string, options?: { cause?: Error | undefined; code?: RetryPolicyErrorCode | string | undefined; context?: Record | undefined; }); } //# sourceMappingURL=errors.d.ts.map