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