Expand description
§Structured Error Types
Comprehensive error handling for AT Protocol identity operations using structured error types
with the thiserror library. All errors follow the project convention of prefixed error codes
with descriptive messages.
§Error Categories
WebDIDError(web-1 to web-4): Errors specific todid:weboperations including URL conversion and document fetchingConfigError(config-1 to config-3): Configuration and environment variable related errorsResolveError(resolve-1 to resolve-8): Handle and DID resolution errors including DNS/HTTP failures and conflictsPLCDIDError(plc-1 to plc-2): PLC directory communication and document parsing errorsKeyError(key-1 to key-12): Cryptographic key operations including generation, parsing, signing, and validationStorageError(storage-1 to storage-3): Storage operations including cache lock failures and data access errors
§Error Format
All errors use the standardized format: error-atproto-identity-{domain}-{number} {message}: {details}
Enums§
- Config
Error - Error types that can occur when working with configuration
- KeyError
- Error types that can occur when working with cryptographic keys
- PLCDID
Error - Error types that can occur when working with PLC DIDs
- Resolve
Error - Error types that can occur when resolving AT Protocol identities
- Storage
Error - Error types that can occur when working with storage operations
- WebDID
Error - Error types that can occur when working with Web DIDs