Skip to content

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

@stschuh

Description

@stschuh

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).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions