You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a request was sent and response has been received, there will be no exception regardless of response HTTP status. So the only exceptions you might expect are really bad things.
To catch bad things that occurred during connection/request/response stages you might rescue from HTTP::Error or any of the errors from the list in http/errors.rb. Any other exceptions that might be raised are basically unrecoverable runtime errors (e.g. wrong arguments/types).