nostr_tools.ClientConnectionError¶
- exception nostr_tools.ClientConnectionError[source]¶
Bases:
ClientErrorException raised for client connection errors.
Raised when there are issues connecting to, communicating with, or maintaining connections to Nostr relays.
- Parameters:
message (
str) – Description of the connection error
Examples
>>> raise ClientConnectionError("Failed to connect to wss://relay.example.com")