aboutsummaryrefslogtreecommitdiff
path: root/packages/server/src/git/error
diff options
context:
space:
mode:
Diffstat (limited to 'packages/server/src/git/error')
-rw-r--r--packages/server/src/git/error/types.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/server/src/git/error/types.ts b/packages/server/src/git/error/types.ts
index b8f2de7..b8c860b 100644
--- a/packages/server/src/git/error/types.ts
+++ b/packages/server/src/git/error/types.ts
@@ -36,4 +36,10 @@ export class CommitNotSignedError extends ErrorType {
constructor() {
super(500, "Commit isn't signed!");
}
+}
+
+export class NotInKeyringError extends ErrorType {
+ constructor(email: string) {
+ super(500, `A public key for '${email}' doesn't exist in the server pgp keyring!`);
+ }
} \ No newline at end of file