docs: private static void handleFederatedFlowError(LoginInput loginInput, Exception ex)
    throws SnowflakeSQLException
  
    {
      if (ex instanceof IOException)
      {
        logger.error("IOException when authenticating with " +
                     loginInput.getAuthenticator(), ex);
        throw new SnowflakeSQLException(ex, SqlState.IO_ERROR,
                                        ErrorCode.NETWORK_ERROR.getMessageCode(),
                                        "Exception encountered when opening connection: " +
                                        ex.getMessage());
      }
      logger.error("Exception when authenticating with " +
                   loginInput.getAuthenticator(), ex);
      throw new SnowflakeSQLException(ex,
                                      SqlState.SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION,
                                      ErrorCode.CONNECTION_ERROR.getMessageCode(),
                                      ErrorCode.CONNECTION_ERROR.getMessageCode(), ex.getMessage());
    }