kadena 0.1.0

A comprehensive Rust library for interacting with Pact smart contracts and the Kadena blockchain.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;

/// Errors that can occur during fetch operations
#[derive(Debug, Error)]
pub enum FetchError {
    /// Network-related errors
    #[error("Network error: {0}")]
    NetworkError(#[from] reqwest::Error),
    /// JSON serialization/deserialization errors
    #[error("JSON serialization error: {0}")]
    SerializationError(#[from] serde_json::Error),
    /// API-specific errors
    #[error("API error: {0}")]
    ApiError(String),
}