Initial
This commit is contained in:
24
node_modules/mssql/lib/error/transaction-error.js
generated
vendored
Normal file
24
node_modules/mssql/lib/error/transaction-error.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
'use strict'
|
||||
|
||||
const MSSQLError = require('./mssql-error')
|
||||
|
||||
/**
|
||||
* Class TransactionError.
|
||||
*/
|
||||
|
||||
class TransactionError extends MSSQLError {
|
||||
/**
|
||||
* Creates a new TransactionError.
|
||||
*
|
||||
* @param {String} message Error message.
|
||||
* @param {String} [code] Error code.
|
||||
*/
|
||||
|
||||
constructor (message, code) {
|
||||
super(message, code)
|
||||
|
||||
this.name = 'TransactionError'
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = TransactionError
|
||||
Reference in New Issue
Block a user