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