mirror of
https://github.com/certd/certd.git
synced 2026-04-14 12:30:54 +08:00
13 lines
401 B
TypeScript
13 lines
401 B
TypeScript
import { Constants } from '../constants.js';
|
|
import { BaseException } from './base-exception.js';
|
|
/**
|
|
* 通用异常
|
|
*/
|
|
export class LoginErrorException extends BaseException {
|
|
leftCount: number;
|
|
constructor(message, leftCount: number) {
|
|
super('LoginErrorException', Constants.res.loginError.code, message ? message : Constants.res.loginError.message);
|
|
this.leftCount = leftCount;
|
|
}
|
|
}
|