mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Tidy up some use of Error for throw
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user