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
We can then let the handler object be defined and passed by the caller. This will allow exceptions to be handled by caller of the runner. For instance if there was a policy to retry.
Also if the handler is not defined then by default the exception is propagated up as you are doing now.
That’s one approach. Another approach to think about is an exception handler. So something like:
We can then let the
handler
object be defined and passed by the caller. This will allow exceptions to be handled by caller of the runner. For instance if there was a policy to retry.Also if the handler is not defined then by default the exception is propagated up as you are doing now.
Originally posted by @maximilien in #125 (comment)
The text was updated successfully, but these errors were encountered: