Initial import from local backup (Documents-Playground/pakerpale)

This commit is contained in:
jeonghwa
2026-07-03 05:27:22 +09:00
commit 66e997d585
4064 changed files with 558483 additions and 0 deletions

34
node_modules/sequelize/lib/errors/database-error.js generated vendored Normal file
View File

@@ -0,0 +1,34 @@
'use strict';
const BaseError = require('./base-error');
/**
* A base class for all database related errors.
*/
class DatabaseError extends BaseError {
constructor(parent) {
super(parent.message);
this.name = 'SequelizeDatabaseError';
/**
* @type {Error}
*/
this.parent = parent;
/**
* @type {Error}
*/
this.original = parent;
/**
* The SQL that triggered the error
* @type {string}
*/
this.sql = parent.sql;
/**
* The parameters for the sql that triggered the error
* @type {Array<any>}
*/
this.parameters = parent.parameters;
Error.captureStackTrace(this, this.constructor);
}
}
module.exports = DatabaseError;