Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
16
node_modules/sequelize/lib/errors/database/timeout-error.js
generated
vendored
Normal file
16
node_modules/sequelize/lib/errors/database/timeout-error.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
const DatabaseError = require('./../database-error');
|
||||
|
||||
/**
|
||||
* Thrown when a database query times out because of a deadlock
|
||||
*/
|
||||
class TimeoutError extends DatabaseError {
|
||||
constructor(parent) {
|
||||
super(parent);
|
||||
this.name = 'SequelizeTimeoutError';
|
||||
Error.captureStackTrace(this, this.constructor);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = TimeoutError;
|
||||
Reference in New Issue
Block a user