Open
Description
Like in the title, it would be useful in some cases to be able to run code in the case of errors, for example I want to do something before upload, and after - even if the upload fails. Afaik there is no way to fo this currently.
My idea would be to add two entry points:
# run after any error
env.AddPostAction('error', ...)
# or run after specific error
env.AddErrorAction('upload', ...)