kafka-node
Version:
Client for Apache Kafka v0.9.x, v0.10.x and v0.11.x
18 lines (14 loc) • 407 B
JavaScript
var util = require('util');
/**
* The broker did not support the requested API.
*
*
* @constructor
*/
var ApiNotSupportedError = function () {
Error.captureStackTrace(this, this);
this.message = 'The API is not supported by the receiving broker';
};
util.inherits(ApiNotSupportedError, Error);
ApiNotSupportedError.prototype.name = 'ApiNotSupportedError';
module.exports = ApiNotSupportedError;