mirror of
https://github.com/Shiva108/ai-llm-red-team-handbook.git
synced 2026-08-30 06:30:40 +02:00
adding mermaid packages
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
'use strict'
|
||||
var inherits = require('inherits')
|
||||
|
||||
module.exports = SaveStack
|
||||
|
||||
function SaveStack (fn) {
|
||||
Error.call(this)
|
||||
Error.captureStackTrace(this, fn || SaveStack)
|
||||
}
|
||||
inherits(SaveStack, Error)
|
||||
|
||||
SaveStack.prototype.completeWith = function (er) {
|
||||
this['__' + 'proto' + '__'] = er
|
||||
this.stack = this.stack + '\n\n' + er.stack
|
||||
return this
|
||||
}
|
||||
Reference in New Issue
Block a user