[Glacier] Add proper string formatting for ErrorCodes.
This commit is contained in:
parent
a93aa3a426
commit
9f0e87b51d
5 changed files with 51 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ void StrFormatValue(StringBuilder& builder, const uint64_t& value,
|
|||
template <>
|
||||
void StrFormatValue(StringBuilder& builder, const ErrorCode& value,
|
||||
StringView opts) {
|
||||
StrFormatValue(builder, static_cast<uint64_t>(value), opts);
|
||||
StrFormatValue(builder, ErrorCodeToStr(value), opts);
|
||||
}
|
||||
|
||||
template <>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue