RemoveFileError.js 817 B

123456789101112131415161718192021222324252627282930
  1. // Generated by CoffeeScript 1.12.7
  2. /*
  3. ExternalEditor
  4. Kevin Gravier <kevin@mrkmg.com>
  5. MIT
  6. */
  7. (function() {
  8. var RemoveFileError,
  9. extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
  10. hasProp = {}.hasOwnProperty;
  11. RemoveFileError = (function(superClass) {
  12. extend(RemoveFileError, superClass);
  13. RemoveFileError.prototype.message = 'Failed to cleanup temporary file';
  14. function RemoveFileError(original_error) {
  15. this.original_error = original_error;
  16. }
  17. return RemoveFileError;
  18. })(Error);
  19. module.exports = RemoveFileError;
  20. }).call(this);