holochain_client 0.6.0

A Rust client for the Holochain Conductor API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use holochain_conductor_api::ExternalApiWireError;
use std::error::Error;

#[derive(Debug)]
pub enum ConductorApiError {
    WebsocketError(holochain_websocket::WebsocketError),
    ExternalApiWireError(ExternalApiWireError),
    FreshNonceError(Box<dyn Error + Sync + Send>),
    SignZomeCallError(String),
    CellNotFound,
}

pub type ConductorApiResult<T> = Result<T, ConductorApiError>;