/** * Represents an Error with optional inner error. */ export interface INestableError { readonly inner?: any; getBaseError(): any; } export declare function setInnerError(error: any, inner: any): Error & INestableError; export declare class AggregateError extends Error { readonly name = "RawValueError"; readonly innerErrors: readonly any[]; constructor(message?: string, ...errors: any[]); forEach(callback: (this: TThis, error: any) => void, thisArg: TThis): void; forEach(callback: (this: void, error: any) => void): void; } //# sourceMappingURL=errors.d.ts.map