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

Method error

src/brpc/parse_result.h:62–62  ·  view source on GitHub ↗

Return PARSE_OK when the result is successful.

Source from the content-addressed store, hash-verified

60
61 // Return PARSE_OK when the result is successful.
62 ParseError error() const { return _err; }
63 const char* error_str() const
64 { return _user_desc ? _user_desc : ParseErrorToString(_err); }
65 bool is_ok() const { return error() == PARSE_OK; }

Callers 2

CutInputMessageMethod · 0.45
ProcessNewMessageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected