Documentation
¶
Index ¶
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetCode() int32
- func (m *Error) GetErrors() map[string]string
- func (m *Error) GetMessage() string
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) String() string
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // unique error code for this error Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // error description // in case of multiple errors, represents generic error message // with specifics in the errors field Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // map of sub errors if there are multiple errors to be passed back // ex: // "document_identifier": "empty identifer", // "next_identifier": "invalid next identifer", // "document_root": "invalid document root" Errors map[string]string `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Error contains details about the specific error
func (*Error) Descriptor ¶
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.