CreateFileError.js 827 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 CreateFileError,
  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. CreateFileError = (function(superClass) {
  12. extend(CreateFileError, superClass);
  13. CreateFileError.prototype.message = 'Failed to create temporary file for editor';
  14. function CreateFileError(original_error) {
  15. this.original_error = original_error;
  16. }
  17. return CreateFileError;
  18. })(Error);
  19. module.exports = CreateFileError;
  20. }).call(this);