Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
16
node_modules/sequelize/lib/errors/connection/access-denied-error.js
generated
vendored
Normal file
16
node_modules/sequelize/lib/errors/connection/access-denied-error.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
const ConnectionError = require('./../connection-error');
|
||||
|
||||
/**
|
||||
* Thrown when a connection to a database is refused due to insufficient privileges
|
||||
*/
|
||||
class AccessDeniedError extends ConnectionError {
|
||||
constructor(parent) {
|
||||
super(parent);
|
||||
this.name = 'SequelizeAccessDeniedError';
|
||||
Error.captureStackTrace(this, this.constructor);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AccessDeniedError;
|
||||
Reference in New Issue
Block a user