Skip to content

Commit

Permalink
Merge branch '472-default-settings' into feat/default-settings-handle…
Browse files Browse the repository at this point in the history
…rs-integration-test
  • Loading branch information
riccardoperra authored Mar 5, 2023
2 parents 86c9650 + 91bb65e commit 4edf876
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/api/src/common/exceptions/NotFoundEntityException.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import {HandlerError} from './HandlerError';

export class NotFoundEntityException<
export abstract class NotFoundEntityException<
Args extends Record<string, string | number> | void = void,
> extends HandlerError<Args> {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
createMessage(args: Args): string {
return 'Resource not found';
}
abstract createMessage(args: Args): string;
}

0 comments on commit 4edf876

Please sign in to comment.