You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
489 B
18 lines
489 B
var util = require('util');
|
|
|
|
/**
|
|
* A broker/leader was not available or discoverable for the action requested
|
|
*
|
|
* @param {String} message A message describing the issue with the broker
|
|
*
|
|
* @constructor
|
|
*/
|
|
var BrokerNotAvailableError = function (message) {
|
|
Error.captureStackTrace(this, this);
|
|
this.message = message;
|
|
};
|
|
|
|
util.inherits(BrokerNotAvailableError, Error);
|
|
BrokerNotAvailableError.prototype.name = 'BrokerNotAvailableError';
|
|
|
|
module.exports = BrokerNotAvailableError;
|
|
|