Type Alias ic_cdk::api::call::CallResult
source · 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.
Aliased Type§
enum CallResult<R> {
Ok(R),
Err((RejectionCode, String)),
}