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

Method message

ext/src/llvm/Error.cpp:32–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 const char *name() const noexcept override { return "Error"; }
31
32 std::string message(int condition) const override {
33 switch (static_cast<ErrorErrorCode>(condition)) {
34 case ErrorErrorCode::MultipleErrors:
35 return "Multiple errors";
36 case ErrorErrorCode::InconvertibleError:
37 return "Inconvertible error value. An error has occurred that could "
38 "not be converted to a known std::error_code. Please file a "
39 "bug.";
40 case ErrorErrorCode::FileError:
41 return "A file error occurred.";
42 }
43 llvm_unreachable("Unhandled error code");
44 }
45 };
46
47}

Callers 15

errorToErrorCodeFunction · 0.45
logMethod · 0.45
defaultErrorHandlerMethod · 0.45
defaultWarningHandlerMethod · 0.45
~raw_fd_ostreamMethod · 0.45
OnTestEndMethod · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
CompareTestPartResultMethod · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 14

OnTestEndMethod · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
CompareTestPartResultMethod · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
OnTestPartResultMethod · 0.36
HasOneFailureFunction · 0.36
OutputXmlTestResultMethod · 0.36