1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00
unleash.unleash/src/lib/error/archivedfeature-error.ts

14 lines
335 B
TypeScript
Raw Normal View History

import { UnleashError } from './unleash-error';
class ArchivedFeatureError extends UnleashError {
statusCode = 400;
constructor(
message: string = 'Cannot perform this operation on archived features',
) {
super(message);
}
}
export default ArchivedFeatureError;
module.exports = ArchivedFeatureError;