jude-seaweedfs
Version:
Node.js client for seaweed-fs, a distributed file store
13 lines (10 loc) • 381 B
JavaScript
;
var util = require('util');
module.exports = SeaweedFSError;
function SeaweedFSError(message) {
this.name = 'SeaweedFSError';
this.message = message || 'Communication with SeaweedFS failed';
this.stack = (new Error()).stack;
}
SeaweedFSError.prototype = Object.create(Error.prototype);
SeaweedFSError.prototype.constructor = SeaweedFSError;