pub fn decode_app_result(
app: &str,
operation: &str,
status: i32,
body: &[u8],
) -> Result<Value, Box<InvokeResultError>>Expand description
Decodes one app operation result with the standard JSON envelope
semantics: success envelopes return their data, error envelopes and
HTTP-error statuses return InvokeResultError, and any other JSON body
passes through unchanged.