Progress on API routes
This commit is contained in:
9
src/entries/exceptions/entryNotFound.exception.ts
Normal file
9
src/entries/exceptions/entryNotFound.exception.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { NotFoundException } from "@nestjs/common";
|
||||
|
||||
class EntryNotFoundException extends NotFoundException {
|
||||
constructor(uuid: string) {
|
||||
super(`Entry with UUID ${uuid} not found`)
|
||||
}
|
||||
}
|
||||
|
||||
export default EntryNotFoundException
|
||||
Reference in New Issue
Block a user