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 (11 loc) • 333 B
text/typescript
import ConnectionError from './../connection-error';
/**
* Thrown when a connection to a database is refused due to insufficient privileges
*/
class AccessDeniedError extends ConnectionError {
constructor(parent: Error) {
super(parent);
this.name = 'SequelizeAccessDeniedError';
}
}
export default AccessDeniedError;