MCPcopy Create free account
hub / github.com/apple/foundationdb / toString

Function toString

flow/Trace.cpp:694–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

692}
693
694std::string toString(ErrorKind errorKind) {
695 switch (errorKind) {
696 case ErrorKind::Unset:
697 return "Unset";
698 case ErrorKind::DiskIssue:
699 return "DiskIssue";
700 case ErrorKind::BugDetected:
701 return "BugDetected";
702 default:
703 UNSTOPPABLE_ASSERT(false);
704 return "";
705 }
706}
707
708} // namespace
709

Callers 3

logMethod · 0.70
validateFormatMethod · 0.70
toStringMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected