Function is_error_response
Source pub fn is_error_response(response: &Value) -> bool
Expand description
Checks if a Bitget API response indicates an error.
Bitget uses “00000” as the success code. Any other code indicates an error.
§Arguments
response - The JSON response from Bitget API
§Returns
true if the response indicates an error, false otherwise.