#is it possible to use this code to check

1 messages · Page 1 of 1 (latest)

pure palm
#

It's not guaranteed that the error is because of the internet connection. By catching a more specific exception, you could get closer to that.

You should expect a RequestFailedException with an error code of CommonErrorCodes.TransportError when there is no network.