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