Module errors

Module errors 

Source
Expand description

§Structured Error Types

Comprehensive error handling for AT Protocol client operations using structured error types with the thiserror library. All errors follow the project convention of prefixed error codes with descriptive messages.

§Error Categories

  • ClientError (http-1 to http-2): HTTP client operation errors including request failures and parsing errors
  • DPoPError (auth-1 to auth-3): DPoP authentication related errors
  • CliError (cli-1 to cli-4): Command-line interface specific errors including file I/O and resolution failures

§Error Format

All errors use the standardized format: error-atproto-client-{domain}-{number} {message}: {details}

Structs§

SimpleError
Simple error response structure for AT Protocol APIs.

Enums§

CliError
Error types that can occur in CLI tools.
ClientError
Error types that can occur during HTTP client operations.
DPoPError
Error types that can occur during DPoP authentication operations.