Skip to main content

extract_inner_errors

Function extract_inner_errors 

Source
pub fn extract_inner_errors(
    response: &HyperliquidExchangeResponse,
) -> Vec<Option<String>>
Expand description

Extracts per-item errors from a successful batch response.

Returns a Vec with one Option<String> per item in the statuses array: Some(error) for failed items, None for successful ones. Returns an empty vec if the response cannot be parsed.