1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/error/password-mismatch.ts

11 lines
296 B
TypeScript
Raw Normal View History

import BaseError from './base-error';
class PasswordMismatch extends BaseError {
constructor(message: string = 'Wrong password, try again.') {
super(message, 401, 'PasswordMismatch');
Error.captureStackTrace(this, this.constructor);
}
}
export default PasswordMismatch;