bolt-cw-sdk 1.0.0

SDK for the BOLT protocol, providing utilities for interacting with the BOLT contracts.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::cosmos_client::error::CosmosClientError;
use crate::events::EventError;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum MarketError {
    #[error("Tendermint Error: {0}")]
    TendermintError(#[from] tendermint_rpc::Error),
    #[error("CosmosClient Error: {0}")]
    CosmosClientError(#[from] CosmosClientError),
    #[error("EventError Error: {0}")]
    EventError(#[from] EventError),
    #[error("SerdeJson Error: {0}")]
    SerdeJsonError(#[from] serde_json::Error),
    #[error("Eyre Error: {0}")]
    EyreError(#[from] eyre::Report),
}