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

Method FileError

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

Source from the content-addressed store, hash-verified

1243
1244private:
1245 FileError(const Twine &F, Optional<size_t> LineNum,
1246 std::unique_ptr<ErrorInfoBase> E) {
1247 assert(E && "Cannot create FileError from Error success value.");
1248 assert(!F.isTriviallyEmpty() &&
1249 "The file name provided to FileError must not be empty.");
1250 FileName = F.str();
1251 Err = std::move(E);
1252 Line = std::move(LineNum);
1253 }
1254
1255 static Error build(const Twine &F, Optional<size_t> Line, Error E) {
1256 std::unique_ptr<ErrorInfoBase> Payload;

Callers

nothing calls this directly

Calls 3

assertClass · 0.85
isTriviallyEmptyMethod · 0.80
strMethod · 0.45

Tested by

no test coverage detected