Improved error message syntax