redo error reporting system to be consistent for front+backend errs (bug 1034106)