MCPcopy Create free account
hub / github.com/apache/mesos / failure

Function failure

src/docker/docker.cpp:81–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80template <typename T>
81static Future<T> failure(
82 const string& cmd,
83 int status,
84 const string& err)
85{
86 return Failure(
87 "Failed to run '" + cmd + "': " + WSTRINGIFY(status) +
88 "; stderr='" + err + "'");
89}
90
91
92static Future<Nothing> _checkError(const string& cmd, const Subprocess& s)

Callers 12

future.hppFile · 0.85
processCheckResultMethod · 0.85
TEST_PFunction · 0.85
TEST_PFunction · 0.85
TEST_PFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_PFunction · 0.85
eventsMethod · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls 2

FailureClass · 0.85
WSTRINGIFYFunction · 0.85

Tested by 10

TEST_PFunction · 0.68
TEST_PFunction · 0.68
TEST_PFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_PFunction · 0.68
eventsMethod · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68