Files
glossary_api/src/entries/exceptions/entryNotFound.exception.ts

9 lines
239 B
TypeScript

import { NotFoundException } from "@nestjs/common";
class EntryNotFoundException extends NotFoundException {
constructor(uuid: string) {
super(`Entry with UUID ${uuid} not found`)
}
}
export default EntryNotFoundException