[][src]Type Definition cosmwasm_std::StdResult

type StdResult<T> = Result<T, StdError>;

The return type for init, handle 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.