MCPcopy
hub / github.com/micro/go-micro / Error

Struct Error

errors/errors.pb.go:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21)
22
23type Error struct {
24 state protoimpl.MessageState
25 sizeCache protoimpl.SizeCache
26 unknownFields protoimpl.UnknownFields
27
28 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
29 Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
30 Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
31 Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
32}
33
34func (x *Error) Reset() {
35 *x = Error{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected