Files
certd/packages/libs/lib-server/src/basic/exception/not-found-exception.ts
2024-10-05 01:46:25 +08:00

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);
}
}