mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
11 lines
256 B
TypeScript
11 lines
256 B
TypeScript
|
import BaseError from './base-error';
|
||
|
|
||
|
class DisabledError extends BaseError {
|
||
|
constructor(message: string) {
|
||
|
super(message, 422, 'DisabledError');
|
||
|
Error.captureStackTrace(this, this.constructor);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default DisabledError;
|