mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 00:29:34 +00:00
feat: fips inside (checkpoint)
This commit is contained in:
@@ -171,3 +171,15 @@ export class OidcAuthError extends Error {
|
||||
this.error = error;
|
||||
}
|
||||
}
|
||||
|
||||
export class CryptographyError extends Error {
|
||||
name: string;
|
||||
|
||||
error: unknown;
|
||||
|
||||
constructor({ name, error, message }: { message?: string; name?: string; error?: unknown }) {
|
||||
super(message || "Cryptographic operation failed");
|
||||
this.name = name || "CryptographyError";
|
||||
this.error = error;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user