MCPcopy Create free account
hub / github.com/apache/kvrocks / SanitizeErrorMessage

Function SanitizeErrorMessage

src/storage/scripting.cc:65–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63namespace {
64
65std::string SanitizeErrorMessage(std::string_view message) {
66 std::string sanitized(message);
67 std::erase_if(sanitized, [](char c) { return c == '\r' || c == '\n'; });
68 return sanitized;
69}
70
71} // namespace
72

Callers 1

ReplyToRedisReplyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected