MCPcopy Create free account
hub / github.com/ElementsProject/elements / CConnectionFailed

Class CConnectionFailed

src/bitcoin-cli.cpp:112–120  ·  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

110// when to wait if -rpcwait is given.
111//
112class CConnectionFailed : public std::runtime_error
113{
114public:
115
116 explicit inline CConnectionFailed(const std::string& msg) :
117 std::runtime_error(msg)
118 {}
119
120};
121
122//
123// This function returns either one of EXIT_ codes when it's expected to stop the process or

Callers 2

CallRPCFunction · 0.70
ConnectAndCallRPCFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected