VisualEditor should use errorformat=html and maybe drop some of our custom error messages in favor of default ones.
We have messages like 'visualeditor-saveerror-titleblacklist' or 'visualeditor-saveerror-hookaborted' which are worse than the ones seen in the normal editor, and the API can return the good ones if we ask for them.