mirror of
https://github.com/certd/certd.git
synced 2026-04-16 05:50:50 +08:00
15 lines
329 B
TypeScript
15 lines
329 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
|
|
);
|
|
}
|
|
}
|