mirror of https://github.com/jkjoy/sunpeiwen.git
33 lines
1013 B
JavaScript
33 lines
1013 B
JavaScript
// 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);
|