Using specific exception types instead of generic ClientException in case of error
type-enhancementpackage:cronet_http
The CronetException caught onFailed is converted to a ClientException (exception.ToString) without additional information. Would be great to use more specific types (based on ClientException to avoid breaking existing code) with additional information, such as error code, internal error code (without having the need of parsing the error message).
0 条评论