This isn't going to internationalize well, and will probably also give @wangguan59 a heart attack: the errors generated on the server side aren't really designed for end-user eyeballs. It might be better as a console.log? With perhaps a generic error message to be displayed on-screen? Maybe the on-screen generic message could have a "more" link that shows the detailed error message (with only the generic message translated).