We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3415a5b commit 54d9a49Copy full SHA for 54d9a49
src/repository.token.exception.ts
@@ -0,0 +1,13 @@
1
+export class RepositoryTokenNotFoundException extends Error {
2
+ constructor(classType: string) {
3
+ super(
4
+ `Repository token cannot be found for given classType [${classType}]`,
5
+ );
6
+ }
7
+}
8
+
9
+export class RepositoryNotFoundException extends Error {
10
+ constructor(token: Function | string) {
11
+ super(`Repository cannot be found for given token [${token}]`);
12
13
0 commit comments