Function GetRCodeFromMessage

Function Documentation

inline std::optional<DnsRCode> GetRCodeFromMessage(std::string_view error_msg)

Get DnsRCode from error message string.

Parameters:

error_msg – std::string_view containing the error message

Returns:

DnsRCode corresponding to the error message