mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
14 lines
335 B
TypeScript
14 lines
335 B
TypeScript
|
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;
|