Hi I think it will be a good thing to be able to pass parameters on errors.

ex on error : do error_sending "in Invoice_process email adress => adrês.com is invalid"

Like this we dont have to open the Huge log file to find the error.