isNonUnauthorizedException static method

bool isNonUnauthorizedException(
  1. Object exception
)

Implementation

static bool isNonUnauthorizedException(Object exception) {
  return exception is TimeoutException ||
      exception is ServerException ||
      exception is InternetConnectionIssueFailure ||
      (exception is SocketException);
}