pub type CallResult<R> = Result<R, (RejectionCode, String)>;👎Deprecated since 0.18.0: Please use
ic_cdk::call::CallResult instead.Expand description
The result of a Call.
Errors on the IC have two components; a Code and a message associated with it.
Aliased Type§
pub enum CallResult<R> {
Ok(R),
Err((RejectionCode, String)),
}