Documentation ¶
Index ¶
- Variables
- func Enable(err error) error
- func Formatter(err error) fmt.Formatter
- func Helper()
- func SetVersionInfo(v, r string)
- func Wrap(err error, s *Stack) error
- type Frame
- type Stack
- func (*Stack) Descriptor() ([]byte, []int)deprecated
- func (x *Stack) GetCmdline() []string
- func (x *Stack) GetFrames() []*Frame
- func (x *Stack) GetPid() int32
- func (x *Stack) GetRevision() string
- func (x *Stack) GetVersion() string
- func (*Stack) ProtoMessage()
- func (x *Stack) ProtoReflect() protoreflect.Message
- func (x *Stack) Reset()
- func (x *Stack) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_stack_proto protoreflect.FileDescriptor
Functions ¶
func SetVersionInfo ¶
func SetVersionInfo(v, r string)
Types ¶
type Frame ¶
type Frame struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` File string `protobuf:"bytes,2,opt,name=File,proto3" json:"File,omitempty"` Line int32 `protobuf:"varint,3,opt,name=Line,proto3" json:"Line,omitempty"` // contains filtered or unexported fields }
func (*Frame) Descriptor
deprecated
func (*Frame) ProtoMessage ¶
func (*Frame) ProtoMessage()
func (*Frame) ProtoReflect ¶ added in v0.11.0
func (x *Frame) ProtoReflect() protoreflect.Message
type Stack ¶
type Stack struct { Frames []*Frame `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"` Cmdline []string `protobuf:"bytes,2,rep,name=cmdline,proto3" json:"cmdline,omitempty"` Pid int32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Revision string `protobuf:"bytes,5,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*Stack) Descriptor
deprecated
func (*Stack) GetCmdline ¶
func (*Stack) GetRevision ¶
func (*Stack) GetVersion ¶
func (*Stack) ProtoMessage ¶
func (*Stack) ProtoMessage()
func (*Stack) ProtoReflect ¶ added in v0.11.0
func (x *Stack) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.