improvements: address feedback

This commit is contained in:
Scott Wilson
2025-01-20 22:17:20 -08:00
parent 6341b7e989
commit 3c1fc024c2
57 changed files with 981 additions and 432 deletions
@@ -0,0 +1,14 @@
export class SecretSyncError extends Error {
name: string;
error: unknown;
secretKey?: string;
constructor({ name, error, secretKey }: { name?: string; error?: unknown; secretKey?: string } = {}) {
super();
this.name = name || "SecretSyncError";
this.error = error;
this.secretKey = secretKey;
}
}