XMLDOMErrorHandler.js 463 B

1234567891011121314151617181920
  1. // Generated by CoffeeScript 2.4.1
  2. (function() {
  3. // Represents the error handler for DOM operations
  4. var XMLDOMErrorHandler;
  5. module.exports = XMLDOMErrorHandler = class XMLDOMErrorHandler {
  6. // Initializes a new instance of `XMLDOMErrorHandler`
  7. constructor() {}
  8. // Called on the error handler when an error occurs.
  9. // `error` the error message as a string
  10. handleError(error) {
  11. throw new Error(error);
  12. }
  13. };
  14. }).call(this);