xiaoju-survey/server/src/exceptions/surveyNotFoundException.ts
2024-02-07 15:55:25 +08:00

9 lines
277 B
TypeScript

import { HttpException } from './httpException';
import { EXCEPTION_CODE } from 'src/enums/exceptionCode';
export class SurveyNotFoundException extends HttpException {
constructor(public readonly message: string) {
super(message, EXCEPTION_CODE.SURVEY_NOT_FOUND);
}
}