nostr_tools.NostrToolsError¶ exception nostr_tools.NostrToolsError[source]¶ Bases: Exception Base exception for all nostr-tools errors. All custom exceptions in this library inherit from this base class, making it easy to catch any nostr-tools specific error.