Retry After an Exception in a PHP Try/Catch Block

I originally posted this on Twitter and made a Gist, but thought I’d write a bit more about the subject of retrying after an exception is thrown in a PHP try/catch block. Since we’re all Laravel developers now and the world is run on APIs, we should recognize our...