Better catching/reporting of the errors

The errors from the submit methods need also better catching.