MCPcopy Create free account
hub / github.com/ablab/spades / createStringError

Function createStringError

ext/include/llvm/Support/Error.h:1197–1203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1195/// Create formatted StringError object.
1196template <typename... Ts>
1197inline Error createStringError(std::error_code EC, char const *Fmt,
1198 const Ts &... Vals) {
1199 std::string Buffer;
1200 raw_string_ostream Stream(Buffer);
1201 Stream << format(Fmt, Vals...);
1202 return make_error<StringError>(Stream.str(), EC);
1203}
1204
1205Error createStringError(std::error_code EC, char const *Msg);
1206

Callers

nothing calls this directly

Calls 4

formatFunction · 0.70
make_error_codeFunction · 0.70
strMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected