nostr_tools.ClientPublicationError¶
- exception nostr_tools.ClientPublicationError[source]¶
Bases:
ClientErrorException raised when client event publishing fails.
Raised when an event cannot be published to a relay due to: - Connection issues - Relay rejection - Timeout
- Parameters:
message (
str) – Description of the publication error
Examples
>>> raise ClientPublicationError("Failed to publish event to relay")