ex3_canister_client/lib.rs
1use ex3_common_error_info::ErrorInfo;
2
3use crate::error::CanisterError;
4
5#[cfg(feature = "agent")]
6pub mod agent_call_wrapper;
7#[cfg(feature = "canister")]
8pub mod canister_call_wrapper;
9pub mod error;
10pub type CanisterResult<T> = Result<T, CanisterError>;
11pub type ActorResult<T> = Result<T, ErrorInfo>;