Struct ic_test_state_machine_client::UserError
source · Expand description
The error that is sent back to users of IC if something goes wrong. It’s designed to be copyable and serializable so that we can persist it in ingress history.
Fields§
§code: ErrorCode§description: StringTrait Implementations§
source§impl<'de> Deserialize<'de> for UserError
impl<'de> Deserialize<'de> for UserError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more