Documentation ¶
Index ¶
- type ContextError
- func (*ContextError) Descriptor() ([]byte, []int)
- func (m *ContextError) GetContext() string
- func (m *ContextError) GetError() *Error
- func (*ContextError) ProtoMessage()
- func (m *ContextError) Reset()
- func (m *ContextError) String() string
- func (m *ContextError) XXX_DiscardUnknown()
- func (m *ContextError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContextError) XXX_Merge(src proto.Message)
- func (m *ContextError) XXX_Size() int
- func (m *ContextError) XXX_Unmarshal(b []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetContextError() *ContextError
- func (m *Error) GetFriendlyError() *FriendlyError
- func (m *Error) GetText() 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
- type FriendlyError
- func (*FriendlyError) Descriptor() ([]byte, []int)
- func (m *FriendlyError) GetFriendlyMessage() string
- func (*FriendlyError) ProtoMessage()
- func (m *FriendlyError) Reset()
- func (m *FriendlyError) String() string
- func (m *FriendlyError) XXX_DiscardUnknown()
- func (m *FriendlyError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FriendlyError) XXX_Merge(src proto.Message)
- func (m *FriendlyError) XXX_Size() int
- func (m *FriendlyError) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextError ¶
type ContextError struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Context string `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ContextError) Descriptor ¶
func (*ContextError) Descriptor() ([]byte, []int)
func (*ContextError) GetContext ¶
func (m *ContextError) GetContext() string
func (*ContextError) GetError ¶
func (m *ContextError) GetError() *Error
func (*ContextError) ProtoMessage ¶
func (*ContextError) ProtoMessage()
func (*ContextError) Reset ¶
func (m *ContextError) Reset()
func (*ContextError) String ¶
func (m *ContextError) String() string
func (*ContextError) XXX_DiscardUnknown ¶
func (m *ContextError) XXX_DiscardUnknown()
func (*ContextError) XXX_Marshal ¶
func (m *ContextError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContextError) XXX_Merge ¶
func (m *ContextError) XXX_Merge(src proto.Message)
func (*ContextError) XXX_Size ¶
func (m *ContextError) XXX_Size() int
func (*ContextError) XXX_Unmarshal ¶
func (m *ContextError) XXX_Unmarshal(b []byte) error
type Error ¶
type Error struct { ContextError *ContextError `protobuf:"bytes,1,opt,name=context_error,json=contextError,proto3" json:"context_error,omitempty"` FriendlyError *FriendlyError `protobuf:"bytes,2,opt,name=friendly_error,json=friendlyError,proto3" json:"friendly_error,omitempty"` // `text` is the default case. If none of the above fields are defined, then // it's assumed that the error isn't a special Blimp type, and can be created // with errors.New. Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Error is a union of possible error types. Each field corresponds to a type in our Go code.
func (*Error) Descriptor ¶
func (*Error) GetContextError ¶
func (m *Error) GetContextError() *ContextError
func (*Error) GetFriendlyError ¶
func (m *Error) GetFriendlyError() *FriendlyError
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
type FriendlyError ¶
type FriendlyError struct { FriendlyMessage string `protobuf:"bytes,1,opt,name=friendly_message,json=friendlyMessage,proto3" json:"friendly_message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FriendlyError) Descriptor ¶
func (*FriendlyError) Descriptor() ([]byte, []int)
func (*FriendlyError) GetFriendlyMessage ¶
func (m *FriendlyError) GetFriendlyMessage() string
func (*FriendlyError) ProtoMessage ¶
func (*FriendlyError) ProtoMessage()
func (*FriendlyError) Reset ¶
func (m *FriendlyError) Reset()
func (*FriendlyError) String ¶
func (m *FriendlyError) String() string
func (*FriendlyError) XXX_DiscardUnknown ¶
func (m *FriendlyError) XXX_DiscardUnknown()
func (*FriendlyError) XXX_Marshal ¶
func (m *FriendlyError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FriendlyError) XXX_Merge ¶
func (m *FriendlyError) XXX_Merge(src proto.Message)
func (*FriendlyError) XXX_Size ¶
func (m *FriendlyError) XXX_Size() int
func (*FriendlyError) XXX_Unmarshal ¶
func (m *FriendlyError) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.