Ensuring execution, retrying failures and reraising exceptions
Besides rescue
, Ruby has more ways to handle exceptions. We’ll use the retry
and ensure
keywords and reraised exceptions to build a resilient web API client.
Besides rescue
, Ruby has more ways to handle exceptions. We’ll use the retry
and ensure
keywords and reraised exceptions to build a resilient web API client.
Post a comment