Module errors

Module errors 

Source
Expand description

Unified error types for the pubky crate.

This module centralizes all failures that can occur while using the SDK and provides a single top-level Error enum plus the convenient Result alias. Errors from lower layers (reqwest, pkarr, pubky_common, URL parsing) are mapped into structured variants so callers can handle them precisely.

Enums§

AuthError
Errors originating from authentication flows (sessions, tokens, crypto).
BuildError
Errors that can occur while building a crate::PubkyHttpClient.
Error
The crate’s top-level error type.
PkarrError
Runtime errors produced while resolving or publishing PKARR records.
RequestError
Transport and server-side HTTP errors.

Type Aliases§

Result
A specialized Result type for pubky operations.