Skip to content

Commit f535c83

Browse files
authored
Add HandshakeError class for handshake validation
1 parent 139c926 commit f535c83

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/cyphersyntax/errors.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ class EnvelopeError(CypherSyntaxError):
1818
"""Raised when an envelope cannot be parsed or validated."""
1919

2020

21+
class HandshakeError(CypherSyntaxError):
22+
"""Raised when a handshake message cannot be parsed or validated."""
23+
24+
2125
class PersistenceError(CypherSyntaxError):
2226
"""Base error for durable local persistence failures."""
2327

0 commit comments

Comments
 (0)