Function extract_error_message
Source pub fn extract_error_message(response: &Value) -> &str
Expand description
Extracts the error message from a Bybit API response.
§Arguments
response - The JSON response from Bybit API
§Returns
The error message as a string, or “Unknown error” if not found.