unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
24 lines • 659 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class FeatureHasTagError extends Error {
constructor(message) {
super();
Error.captureStackTrace(this, this.constructor);
this.name = this.constructor.name;
this.message = message;
}
toJSON() {
return {
isJoi: true,
name: this.constructor.name,
details: [
{
message: this.message,
},
],
};
}
}
exports.default = FeatureHasTagError;
module.exports = FeatureHasTagError;
//# sourceMappingURL=feature-has-tag-error.js.map