summaryrefslogtreecommitdiffstats
path: root/collectors/node.d.plugin/node_modules/lib/ber/errors.js
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/node.d.plugin/node_modules/lib/ber/errors.js')
-rw-r--r--collectors/node.d.plugin/node_modules/lib/ber/errors.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/collectors/node.d.plugin/node_modules/lib/ber/errors.js b/collectors/node.d.plugin/node_modules/lib/ber/errors.js
new file mode 100644
index 000000000..1c0df7b13
--- /dev/null
+++ b/collectors/node.d.plugin/node_modules/lib/ber/errors.js
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: MIT
+
+module.exports = {
+ InvalidAsn1Error: function(msg) {
+ var e = new Error()
+ e.name = 'InvalidAsn1Error'
+ e.message = msg || ''
+ return e
+ }
+}