MCPcopy Create free account
hub / github.com/apache/trafficserver / make_errata

Function make_errata

include/mgmt/rpc/handlers/common/ErrorUtils.h:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54template <typename... Args>
55static inline swoc::Errata
56make_errata(int code, std::string_view fmt, Args &&...args)
57{
58 return swoc::Errata(std::error_code(code, std::generic_category()), fmt, std::forward<Args>(args)...);
59}
60
61static inline swoc::Errata
62make_errata(int code, std::string_view text)

Callers 1

plugin_send_basic_msgFunction · 0.85

Calls 2

ErrataClass · 0.85
stringClass · 0.85

Tested by

no test coverage detected