Type Definition ic_cdk::api::call::CallResult[][src]

pub type CallResult<R> = Result<R, (RejectionCode, String)>;
Expand description

The result of a Call. Errors on the IC have two components; a Code and a message associated with it.