Hi all,

It might be useful to incorporate the "retry if" condition that'll likely
arise in use of this, into the feature itself. Such that after the retry
keyword you could optionally specify a truthy value.

Then you could write something like

    $retries = 5;

    try {

        // …

    } catch (…) {

        retry $retries--;

    }

Kind regards,
Aidan

Reply via email to