common::InvalidPortErrMsg

Build the error message for an invalid port value.

Synopsis

Declared in <common/messages.h>

bilingual_str
InvalidPortErrMsg(
    std::string const& optname,
    std::string const& strPort);

Return Value

The bilingual error message.

Parameters

NameDescription
optnameThe option name whose port is invalid.
strPortThe offending port string.