hop-sdk 0.1.0

Client SDK for the Polkadot HOP protocol
Documentation
#[derive(Debug, thiserror::Error)]
pub enum HopError {
    #[error("Data too large: {0}")]
    DataTooLarge(String),

    #[error("Pool full: {0}")]
    PoolFull(String),

    #[error("Not found: {0}")]
    NotFound(String),

    #[error("Invalid ticket: {0}")]
    InvalidTicket(String),

    #[error("Network error: {0}")]
    Network(String),

    #[error("Quota exceeded: {0}")]
    QuotaExceeded(String),
}