mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
12 lines
287 B
TypeScript
12 lines
287 B
TypeScript
|
import { UnleashError } from './unleash-error';
|
||
|
|
||
|
export class PasswordPreviouslyUsedError extends UnleashError {
|
||
|
statusCode = 400;
|
||
|
|
||
|
constructor(
|
||
|
message: string = `You've previously used this password. Please use a new password.`,
|
||
|
) {
|
||
|
super(message);
|
||
|
}
|
||
|
}
|