Tidy up some use of Error for throw

This commit is contained in:
Vinnie Falco committed 2013-09-28 19:34:16 -07:00
1 parent e5e0f527fe
commit 4394594518
13 files changed
+34 -75

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ bool Result::operator!= (const Result& other) const noexcept
Result Result::fail (const String& errorMessage) noexcept
{
return Result (errorMessage.isEmpty() ? "Unknown Error" : errorMessage);
return Result (errorMessage.isEmpty() ? "Unknown error" : errorMessage);
}
const String& Result::getErrorMessage() const noexcept