'use strict';
/**
* Module dependencies, required for ALL Twyr modules
* @ignore
*/
/**
* Module dependencies, required for this module
* @ignore
*/
const TwyrBaseError = require('./twyr-base-error').TwyrBaseError;
/**
* @class TwyrFeatureError
* @extends {TwyrBaseError}
* @classdesc The Twyr Server Base Class for all errors emitted by Features
*
* @param {string} message - The Error Message.
* @param {Error} [inner] - Inner Error, if any.
*
* @description
* Serves as the "base class" for all other feature errors in the Twyr Web Application Server.
*
*/
class TwyrFeatureError extends TwyrBaseError {
constructor(message, inner) {
super(message, inner);
}
}
exports.TwyrFeatureError = TwyrFeatureError;