harrisonlabollita / arXiv.jl

A Julia wrapper to arXiv API that generates .bib file for LaTex references.
MIT License
2 stars 2 forks source link

custom error throws #20

Open harrisonlabollita opened 3 years ago

harrisonlabollita commented 3 years ago

When the arxiv is down or if there is any issue with the api call let's catch this and throw an error message.

lanceXwq commented 3 years ago

It seems that the request function from HTTP.jl already offers something similar (as it should), see the "Connection Pool options", "Timeout options", and "Retry options" from here. I am testing what are the differences between them by turning off my wifi, lol.