ITADN

Using specific exception types instead of generic ClientException in case of error

#1883Openstschuh 创建于 2026-02-23
type-enhancementpackage:cronet_http
S
stschuhcommented
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 条评论