Skip to main content

parse_response

Function parse_response 

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

Parse a full gateway response into usage fields. Failures are reported the way the CLI sees them: success === false plus an errorCode, where any NotLogined-shaped code means the console session died.