MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / CConnectionFailed

Class CConnectionFailed

src/bitcoin-cli.cpp:194–198  ·  view source on GitHub ↗

Exception thrown on connection error. This error is used to determine when to wait if -rpcwait is given.

Source from the content-addressed store, hash-verified

192// when to wait if -rpcwait is given.
193//
194struct CConnectionFailed : std::runtime_error {
195 explicit inline CConnectionFailed(const std::string& msg) :
196 std::runtime_error(msg)
197 {}
198};
199
200//
201// This function returns either one of EXIT_ codes when it's expected to stop the process or

Callers 4

ConnectMethod · 0.85
PostMethod · 0.85
CallRPCFunction · 0.85
ConnectAndCallRPCFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected