import "goa.design/goa/grpc/pb"
Package goapb contains protocol buffer message types used by the code generation logic.
type ErrorResponse struct { // name is the name for that class of errors. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // id is the unique error instance identifier. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // msg describes the specific error occurrence. Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // temporary indicates whether the error is temporary. Temporary bool `protobuf:"varint,4,opt,name=temporary,proto3" json:"temporary,omitempty"` // timeout indicates whether the error is a timeout. Timeout bool `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // fault indicates whether the error is a server-side fault. Fault bool `protobuf:"varint,6,opt,name=fault,proto3" json:"fault,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ErrorResponse message defines the error encoded in the gRPC response that correspond to the errors created by the generated code. This is mainly intended for the clients to decode error responses.
func (*ErrorResponse) Descriptor() ([]byte, []int)
func (m *ErrorResponse) GetFault() bool
func (m *ErrorResponse) GetId() string
func (m *ErrorResponse) GetMsg() string
func (m *ErrorResponse) GetName() string
func (m *ErrorResponse) GetTemporary() bool
func (m *ErrorResponse) GetTimeout() bool
func (*ErrorResponse) ProtoMessage()
func (m *ErrorResponse) Reset()
func (m *ErrorResponse) String() string
func (m *ErrorResponse) XXX_DiscardUnknown()
func (dst *ErrorResponse) XXX_Merge(src proto.Message)
func (m *ErrorResponse) XXX_Size() int
func (m *ErrorResponse) XXX_Unmarshal(b []byte) error
Package goapb imports 3 packages (graph) and is imported by 3 packages. Updated 2020-12-03. Refresh now. Tools for package owners.