MCPcopy Create free account
hub / github.com/SmingHub/Sming / getAlertString

Function getAlertString

Sming/Components/ssl/src/Alert.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#undef XX
23
24String getAlertString(Alert alert)
25{
26 auto s = String(alertCodeMap[alert]);
27 return s ?: F("ALERT_") + String(unsigned(alert));
28}
29
30} // namespace Ssl

Callers 2

getErrorStringFunction · 0.85
getErrorStringFunction · 0.85

Calls 2

StringClass · 0.50
FFunction · 0.50

Tested by

no test coverage detected