mirror of
https://github.com/certd/certd.git
synced 2026-07-28 15:47:40 +08:00
11 lines
324 B
TypeScript
11 lines
324 B
TypeScript
|
|
import { Constants } from '../constants.js';
|
||
|
|
import { BaseException } from './base-exception.js';
|
||
|
|
/**
|
||
|
|
* 资源不存在
|
||
|
|
*/
|
||
|
|
export class NotFoundException extends BaseException {
|
||
|
|
constructor(message) {
|
||
|
|
super('NotFoundException', Constants.res.notFound.code, message ? message : Constants.res.notFound.message);
|
||
|
|
}
|
||
|
|
}
|