Open mrStudent123 opened 7 years ago
onDownloadFailed(DownloadRequest downloadRequest, int errorCode, String errorMessage)
error code = 1002 (Unhandled HTTP code) message = something like "response=not found, errorcode=404"
so why not return the 404 statuscode in the first place? Like this i can't display the correct error message without parsing the string, which is risky to break in future versions or with other errors.
I will work on it to provide the http status code in callbacks.
when it will have that htto status code in callbacks?
onDownloadFailed(DownloadRequest downloadRequest, int errorCode, String errorMessage)
error code = 1002 (Unhandled HTTP code) message = something like "response=not found, errorcode=404"
so why not return the 404 statuscode in the first place? Like this i can't display the correct error message without parsing the string, which is risky to break in future versions or with other errors.