Documentation
¶
Overview ¶
Package terrorsproto is a generated protocol buffer package.
It is generated from these files:
proto/error.proto
It has these top-level messages:
StackFrame Error
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
Code string `protobuf:"bytes,1,opt,name=code" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
Params map[string]string `` /* 132-byte string literal not displayed */
Stack []*StackFrame `protobuf:"bytes,4,rep,name=stack" json:"stack,omitempty"`
}
func (*Error) Descriptor ¶
func (*Error) GetStack ¶
func (m *Error) GetStack() []*StackFrame
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
type StackFrame ¶
type StackFrame struct {
Filename string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"`
Line int32 `protobuf:"varint,2,opt,name=line" json:"line,omitempty"`
Method string `protobuf:"bytes,3,opt,name=method" json:"method,omitempty"`
}
func (*StackFrame) Descriptor ¶
func (*StackFrame) Descriptor() ([]byte, []int)
func (*StackFrame) ProtoMessage ¶
func (*StackFrame) ProtoMessage()
func (*StackFrame) Reset ¶
func (m *StackFrame) Reset()
func (*StackFrame) String ¶
func (m *StackFrame) String() string
Click to show internal directories.
Click to hide internal directories.