1
2
3
4
5
6
7
8
9
10
11
use ex3_common_error_info::ErrorInfo;

use crate::error::CanisterError;

#[cfg(feature = "agent")]
pub mod agent_call_wrapper;
#[cfg(feature = "canister")]
pub mod canister_call_wrapper;
pub mod error;
pub type CanisterResult<T> = Result<T, CanisterError>;
pub type ActorResult<T> = Result<T, ErrorInfo>;