mirror of
https://github.com/certd/certd.git
synced 2026-04-14 12:30:54 +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);
|
|
}
|
|
}
|