UNPKG

396 BTypeScriptView Raw
1import BaseError from './base-error';
2/**
3 * A wrapper for multiple Errors
4 *
5 * @param errors The aggregated errors that occurred
6 */
7declare class AggregateError extends BaseError {
8 /** the aggregated errors that occurred */
9 readonly errors: Array<AggregateError | Error>;
10 constructor(errors: Array<AggregateError | Error>);
11 toString(): string;
12}
13export default AggregateError;