StackLatestPackagesStackSrcErrorsVariables
EncryptionErrorTypes
EncryptionErrorTypes is a variable in @cipherstash/stack. TypeScript API reference with its signature, parameters, and usage.
Variable: EncryptionErrorTypes
const EncryptionErrorTypes: {
ClientInitError: string;
EncryptionError: string;
DecryptionError: string;
LockContextError: string;
CtsTokenError: string;
};Defined in: packages/stack/src/errors/index.ts:3
Type Declaration
ClientInitError
ClientInitError: string = 'ClientInitError';EncryptionError
EncryptionError: string = 'EncryptionError';DecryptionError
DecryptionError: string = 'DecryptionError';LockContextError
LockContextError: string = 'LockContextError';CtsTokenError
CtsTokenError: string = 'CtsTokenError';StackError
Discriminated union of all specific error types. Use `StackError` when you need exhaustive error handling via `switch` on the `type` field.
packages/stack/src/identity
packages/stack/src/identity is a module in @cipherstash/stack. TypeScript API reference with its signature, parameters, and usage.