sequelize
Version:
Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift and Snowflake’s Data Cloud. It features solid transaction support, relations, eager and lazy loading, read replication and more.
14 lines (13 loc) • 396 B
TypeScript
import BaseError from './base-error';
/**
* A wrapper for multiple Errors
*
* @param errors The aggregated errors that occurred
*/
declare class AggregateError extends BaseError {
/** the aggregated errors that occurred */
readonly errors: Array<AggregateError | Error>;
constructor(errors: Array<AggregateError | Error>);
toString(): string;
}
export default AggregateError;