Can you post an example of an error? (or several of different types?)
That way we can help you setup your regex to display errors.
Also, I had posted a patch to sql.s that added tagging for sql (it does tables and stored procs) but you should be able to add whatever support you’d like.
It may not work with the most current version of mew, what version are you on?