hexo/node_modules/promise-ftp-common/dist/ftpConnectionError.js

33 lines
1013 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
// Generated by CoffeeScript 1.10.0
/* jshint node:true */
/* jshint -W097 */
(function() {
'use strict';
var FtpConnectionError,
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; },
hasProp = {}.hasOwnProperty;
FtpConnectionError = (function(superClass) {
extend(FtpConnectionError, superClass);
function FtpConnectionError(message) {
if (!(this instanceof FtpConnectionError)) {
throw new TypeError("FtpConnectionError constructor called without 'new' keyword");
}
this.name = 'FtpConnectionError';
this.message = message;
Error.captureStackTrace(this, FtpConnectionError);
}
return FtpConnectionError;
})(Error);
module.exports = FtpConnectionError;
}).call(this);