EncryptedError
Defined in: packages/rxdb-adapter-encrypted/src/errors.ts:56
Abstract base of every error thrown by @aiao/rxdb-adapter-encrypted.
Carries optional structured fields (entity, property, hint, cause)
and a stable code literal defined by each concrete subclass.
Extends
Error
Extended by
EncryptedConfigurationErrorEncryptedDecryptErrorEncryptedLockedErrorEncryptedQueryErrorEncryptedUnlockError
Constructors
Constructor
protected new EncryptedError(init?): EncryptedError;
Defined in: packages/rxdb-adapter-encrypted/src/errors.ts:63
Parameters
| Parameter | Type |
|---|---|
init | EncryptedErrorInit |
Returns
EncryptedError
Overrides
Error.constructor
Properties
cause?
readonly optional cause?: unknown;
Defined in: packages/rxdb-adapter-encrypted/src/errors.ts:61
Overrides
Error.cause
code
abstract readonly code: EncryptedErrorCode;
Defined in: packages/rxdb-adapter-encrypted/src/errors.ts:57
entity?
readonly optional entity?: string;
Defined in: packages/rxdb-adapter-encrypted/src/errors.ts:58
hint?
readonly optional hint?: string;
Defined in: packages/rxdb-adapter-encrypted/src/errors.ts:60
message
message: string;
Defined in: node_modules/.pnpm/typescript@6.0.3_patch_hash=ef3c2292deb88eb14130359d5acc1febc0226af46b7b945db6c7250c6cb4efbb/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Error.message
name
name: string;
Defined in: node_modules/.pnpm/typescript@6.0.3_patch_hash=ef3c2292deb88eb14130359d5acc1febc0226af46b7b945db6c7250c6cb4efbb/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
Error.name
property?
readonly optional property?: string;
Defined in: packages/rxdb-adapter-encrypted/src/errors.ts:59
stack?
optional stack?: string;
Defined in: node_modules/.pnpm/typescript@6.0.3_patch_hash=ef3c2292deb88eb14130359d5acc1febc0226af46b7b945db6c7250c6cb4efbb/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Error.stack