mirror of
https://github.com/certd/certd.git
synced 2026-04-15 05:00:52 +08:00
15 lines
323 B
TypeScript
15 lines
323 B
TypeScript
|
|
import { Constants } from '../constants';
|
||
|
|
import { BaseException } from './base-exception';
|
||
|
|
/**
|
||
|
|
* 授权异常
|
||
|
|
*/
|
||
|
|
export class AuthException extends BaseException {
|
||
|
|
constructor(message) {
|
||
|
|
super(
|
||
|
|
'AuthException',
|
||
|
|
Constants.res.auth.code,
|
||
|
|
message ? message : Constants.res.auth.message
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|