Skip to main content

parse_response

Function parse_response 

Source
pub fn parse_response(
    bytes: &[u8],
) -> Result<ReviewResponse, ParseResponseError>
Expand description

Parses and validates a subprocess review response.

ยงErrors

Returns an error for malformed JSON, unsupported protocol versions, or an invalid outcome/submission combination.