mirror of
https://github.com/certd/certd.git
synced 2026-04-19 00:50:53 +08:00
11 lines
328 B
TypeScript
11 lines
328 B
TypeScript
|
|
import { Constants } from '../constants.js';
|
||
|
|
import { BaseException } from './base-exception.js';
|
||
|
|
/**
|
||
|
|
* 验证码异常
|
||
|
|
*/
|
||
|
|
export class CodeErrorException extends BaseException {
|
||
|
|
constructor(message) {
|
||
|
|
super('CodeErrorException', Constants.res.codeError.code, message ? message : Constants.res.codeError.message);
|
||
|
|
}
|
||
|
|
}
|