Index: node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/exception.js |
diff --git a/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/exception.js b/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/exception.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..479ba88791de268eddf9463b5b5179062032103f |
--- /dev/null |
+++ b/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/lib/js-yaml/exception.js |
@@ -0,0 +1,25 @@ |
+'use strict'; |
+ |
+ |
+function YAMLException(reason, mark) { |
+ this.name = 'YAMLException'; |
+ this.reason = reason; |
+ this.mark = mark; |
+ this.message = this.toString(false); |
+} |
+ |
+ |
+YAMLException.prototype.toString = function toString(compact) { |
+ var result; |
+ |
+ result = 'JS-YAML: ' + (this.reason || '(unknown reason)'); |
+ |
+ if (!compact && this.mark) { |
+ result += ' ' + this.mark.toString(); |
+ } |
+ |
+ return result; |
+}; |
+ |
+ |
+module.exports = YAMLException; |