Error Messages

- Improved error messages with specific field names rather than types.
This commit is contained in:
Paul Beckingham
2011-05-09 01:05:21 -04:00
parent e22a07156f
commit 93cfbf8dd2
12 changed files with 12 additions and 12 deletions

View File

@@ -51,7 +51,7 @@ void ColumnUrgency::measure (Task& task, int& minimum, int& maximum)
minimum = maximum = format (task.urgency (), 4, 3).length ();
if (_style != "default")
throw std::string ("Unrecognized column format '") + _type + "." + _style + "'";
throw std::string ("Unrecognized column format 'urgency.") + _style + "'";
}
////////////////////////////////////////////////////////////////////////////////