Open SimonNumberTwo opened 3 years ago
Can you please describe the problems of the current error handling and what it should support in future versions?
For me the error handling should have dedicated cases like "DecodingError" something similar so the app which uses the framework can react accordingly.
Maybe we should take Moya or Alamofire or Networking into consideration how they implemented error handling. Also other approaches like Retrofit for Android can be taken into this research.
@JensK611 what is your opinion on error handling in Jetworking?
Description
The current error handling must be improved. The defined
APIError
enum has to be taken into consideration and may be removed and improved by a better way of handling possible errors.