import { LoaderErrorCode, LoaderErrorContext } from './types.js'; /** * Structured error type emitted by cdg-loader APIs. */ export declare class LoaderError extends Error { readonly code: LoaderErrorCode; readonly retriable: boolean; readonly context: LoaderErrorContext; readonly causeValue?: unknown; constructor({ code, message, retriable, context, causeValue, }: { code: LoaderErrorCode; message: string; retriable: boolean; context?: LoaderErrorContext; causeValue?: unknown; }); } //# sourceMappingURL=errors.d.ts.map