Macro-fy error messages