primer cambio

This commit is contained in:
beseira13
2026-01-19 12:12:38 -03:00
parent 5f59dba52d
commit 44990f015a
4759 changed files with 588702 additions and 0 deletions

24
node_modules/amqplib/lib/error.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
var inherits = require('util').inherits;
function trimStack(stack, num) {
return stack && stack.split('\n').slice(num).join('\n');
}
function IllegalOperationError(msg, stack) {
var tmp = new Error();
this.message = msg;
this.stack = this.toString() + '\n' + trimStack(tmp.stack, 2);
this.stackAtStateChange = stack;
}
inherits(IllegalOperationError, Error);
IllegalOperationError.prototype.name = 'IllegalOperationError';
function stackCapture(reason) {
var e = new Error();
return 'Stack capture: ' + reason + '\n' +
trimStack(e.stack, 2);
}
module.exports.IllegalOperationError = IllegalOperationError;
module.exports.stackCapture = stackCapture;