MCPcopy Create free account
hub / github.com/apache/qpid-proton / check_arg

Function check_arg

cpp/examples/service_bus.cpp:112–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111namespace {
112void check_arg(const std::string &value, const std::string &name) {
113 if (value.empty())
114 throw std::runtime_error("missing argument for \"" + name + "\"");
115}
116}
117
118/// Connect to Service Bus queue and retrieve messages in a particular session.

Callers 1

mainFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected