Forge
pythonf8555a15
1"""pywitdb errors."""
2
3from __future__ import annotations
4
5
6class WitDbError(Exception):
7 """Base error for pywitdb."""
8
9
10class BridgeNotAvailableError(WitDbError):
11 """Bridge backend is not installed or `witdb-bridge` executable is missing."""
12
13
14class WitDbProtocolError(WitDbError):
15 """Invalid or unexpected bridge protocol response."""
16
17
18class WitDbStoreError(WitDbError):
19 """Store-level failure reported by the engine."""
20
View only · write via MCP/CIDE