MCPcopy Create free account
hub / github.com/apache/brpc / ErrorCode

Method ErrorCode

src/brpc/controller.h:553–553  ·  view source on GitHub ↗

Last error code. Equals 0 iff Failed() is false. If there's retry, latter code overwrites former one.

Source from the content-addressed store, hash-verified

551 // Last error code. Equals 0 iff Failed() is false.
552 // If there's retry, latter code overwrites former one.
553 int ErrorCode() const { return _error_code; }
554
555 // Getters:
556 const Inheritable& inheritable() { return _inheritable; }

Callers 15

EchoMethod · 0.80
HandleEchoResponseFunction · 0.80
ProcessRpcRequestMethod · 0.80
handle_responseMethod · 0.80
handle_responseFunction · 0.80
TEST_FFunction · 0.80
TestBaiduStdAuthFunction · 0.80
TestClientHostFunction · 0.80
TEST_FFunction · 0.80
TestConnectionFailedMethod · 0.80

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.64
TestBaiduStdAuthFunction · 0.64
TestClientHostFunction · 0.64
TEST_FFunction · 0.64
TestConnectionFailedMethod · 0.64
TestSuccessMethod · 0.64
TestSuccessParallelMethod · 0.64
TestSuccessSelectiveMethod · 0.64
TestSkipParallelMethod · 0.64