MCPcopy Create free account
hub / github.com/3rdparty/libprocess / StatusError

Method StatusError

include/process/grpc.hpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67{
68public:
69 StatusError(::grpc::Status _status)
70 : Error(stringify(_status.error_code()) +
71 (_status.error_message().empty()
72 ? "" : ": " + _status.error_message())),
73 status(std::move(_status))
74 {
75 CHECK(!status.ok());
76 }
77
78 const ::grpc::Status status;
79};

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected