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.
20 lines
558 B
20 lines
558 B
'use strict';
|
|
|
|
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;
|
|
|