Type Definition cosmwasm_std::StdResult

source · []
pub type StdResult<T> = Result<T, StdError>;
Expand description

The return type for init, execute and query. Since the error type cannot be serialized to JSON, this is only available within the contract and its unit tests.

The prefix “Std” means “the standard result within the standard library”. This is not the only result/error type in cosmwasm-std.