kafka-node
Version:
Client for Apache Kafka v0.8+
21 lines (16 loc) • 558 B
JavaScript
;
const util = require('util');
const NestedError = require('nested-error-stacks');
/**
* The offset for the comsumer is invalid
*
* @param {String} message A message describing the problem with the fetching of offsets for the consumer
*
* @constructor
*/
const InvalidConsumerOffsetError = function (message, nested) {
NestedError.apply(this, arguments);
};
util.inherits(InvalidConsumerOffsetError, NestedError);
InvalidConsumerOffsetError.prototype.name = 'InvalidConsumerOffsetError';
module.exports = InvalidConsumerOffsetError;