ropensci / rentrez

talk with NCBI entrez using R
https://docs.ropensci.org/rentrez
Other
195 stars 38 forks source link

Helpful error message for over-long requests #46

Closed dwinter closed 9 years ago

dwinter commented 9 years ago

See #45:

The Eutils api has a maximum size for a URL, and will return an error if try to make a larger one. At the moment rentrez just passes on the httr error which itself is gathered from the NCBI's message.

We should either

akshaynagpal commented 9 years ago

We can give a link to the 'webenv' tutorial/documentation page in the error message so that it will be a quick solution as compared to the user searching for the 'webenv' manually.

Also, we can display current URL length & Max_allowed_URL length in the error message.