Hook received errors up to the error handler code.