MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / Status

Struct Status

bitmap/pb.pb.go:4283–4286  ·  view source on GitHub ↗

Status describes a general status response. code: 0 = success, 0 != failure.

Source from the content-addressed store, hash-verified

4281// Status describes a general status response.
4282// code: 0 = success, 0 != failure.
4283type Status struct {
4284 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
4285 Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
4286}
4287
4288func (m *Status) Reset() { *m = Status{} }
4289func (m *Status) String() string { return proto.CompactTextString(m) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected