1 parent 98a5c00 commit e2cddcfCopy full SHA for e2cddcf
1 file changed
src/cyphersyntax/errors.py
@@ -16,3 +16,15 @@ class ReplayDetectedError(CypherSyntaxError):
16
17
class EnvelopeError(CypherSyntaxError):
18
"""Raised when an envelope cannot be parsed or validated."""
19
+
20
21
+class PersistenceError(CypherSyntaxError):
22
+ """Base error for durable local persistence failures."""
23
24
25
+class StoreError(PersistenceError):
26
+ """Raised when an encrypted store cannot be saved or loaded safely."""
27
28
29
+class IdentityError(PersistenceError):
30
+ """Raised when persisted identity material is invalid or inaccessible."""
0 commit comments