mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-11 06:05:08 +08:00
made all getWhat() methods on exceptions consistent. they now
all use format() the same way. also changed format() to actually do formatting. however, it doesn't try looking up formatting strings by id, it just uses the fallback format string.
This commit is contained in:
@@ -695,5 +695,5 @@ XConfigRead::~XConfigRead()
|
||||
CString
|
||||
XConfigRead::getWhat() const throw()
|
||||
{
|
||||
return m_error;
|
||||
return format("XConfigRead", "read error: %s", m_error.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user