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