Better formatting for error messages