The art of errors in Ruby
12-Nov-2020 1665
Some processes are very error-prone. A good example is requesting the data from the API or any other external source. A timeout error might be raised, but it does not mean that we can't pull the resource that we are requesting. Sometimes all we need is to give a second chance or even a third. We can achieve it with the retry keyword:.
The art of errors in Ruby #ruby #rubydeveloper #rubyonrails #errors #errors https://rubyonrails.ba/link/the-art-of-errors-in-ruby