react-native-blob-util icon indicating copy to clipboard operation
react-native-blob-util copied to clipboard

About timeout cases

Open andurman opened this issue 1 year ago • 2 comments

Hello,

I want to ask you an error about this issue. In documentation, it says i can handle statusCode on catch block.

image

But when i try to handle statusCode, it always return undefined. I have a timeout exception but I couldn't handle it. It becomes in catch block and error is not an object. It return a string and this string is localized. I mean it writes in local language. How can i handle timeout exceptions? (BTW I am using 0.16.4)

andurman avatar Jan 24 '23 10:01 andurman

Is it still the case with 0.18.3?

RonRadtke avatar Jul 16 '23 09:07 RonRadtke

Unfortunately the error persists. I upgraded to 0.18.3. I tried iPhone 14 Pro, iOS 16.2 simulator.

image

Other thing which I couldn't handle, error prints in local language. I couldn't disable to translate it. If it always return english, it will be solution for me.

andurman avatar Aug 01 '23 06:08 andurman