UNPKG

461 BTypeScriptView Raw
1interface AggregateError extends Error {
2 errors: any[];
3}
4interface AggregateErrorConstructor {
5 new (errors: Iterable<any>, message?: string): AggregateError;
6 (errors: Iterable<any>, message?: string): AggregateError;
7 readonly prototype: AggregateError;
8}
9declare let AggregateErrorImpl: AggregateErrorConstructor;
10export { AggregateErrorImpl as AggregateError };
11export declare function isAggregateError(error: Error): error is AggregateError;