OpenAgentID documentation
Source referencesRust module referenceoas-anchor-eas

oas-anchor-eas · error

Declared module signatures, types, configuration, and source documentation.

Source: oas/oas/oas-anchor-eas/src/error.rs. SHA-256: 82d4d9420b8634bd02ed098d756ec061b168e538b67a44e38806665192875b4b.

This source reference follows declared modules and preserves feature attributes. It includes public declarations and implementation methods in those modules. Private-module exports and trait resolution still require the compiler; not every declaration is a crate-root import. Function bodies and constant values are omitted. Source comments describe their implementation context and are not a production deployment claim.

error::EasError

Error types for the EAS anchor adapter. Errors returned by the EAS adapter. Mapped into oas_resolve::AnchorError at the trait boundary.

#[derive(Debug, thiserror::Error)]
pub enum EasError {
    /// GraphQL or JSON-RPC transport failure.
    #[error("eas transport error: {0}")]
    Transport(String),

    /// The backend returned a structurally invalid record or an unexpected
    /// response shape.
    #[error("invalid eas record: {0}")]
    InvalidRecord(String),

    /// ABI encode/decode failure for attestation data.
    #[error("eas abi error: {0}")]
    Abi(String),
}

Source line: 6.

On this page