micro-template has decent error messages

Use micro-template code, but also output the previous line as part of
the exception