aboutsummaryrefslogtreecommitdiff
path: root/generator/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js
diff options
context:
space:
mode:
Diffstat (limited to 'generator/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js')
-rw-r--r--generator/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/generator/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js b/generator/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js
new file mode 100644
index 0000000..b546a0c
--- /dev/null
+++ b/generator/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js
@@ -0,0 +1,20 @@
+// Generated by CoffeeScript 2.4.1
+(function() {
+ // Represents the error handler for DOM operations
+ var XMLDOMErrorHandler;
+
+ module.exports = XMLDOMErrorHandler = class XMLDOMErrorHandler {
+ // Initializes a new instance of `XMLDOMErrorHandler`
+
+ constructor() {}
+
+ // Called on the error handler when an error occurs.
+
+ // `error` the error message as a string
+ handleError(error) {
+ throw new Error(error);
+ }
+
+ };
+
+}).call(this);