Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorStacktrace ¶
type ErrorStacktrace struct { Errmsg string `json:"errmsg,omitempty"` Trace Stacktrace `json:"trace"` }
ErrorStacktrace decorates a Stacktrace with an error message.
func NewErrorStacktrace ¶
func NewErrorStacktrace(err error) (*ErrorStacktrace, error)
type Frame ¶
type Frame struct { Function string `json:"function,omitempty"` Symbol string `json:"symbol,omitempty"` Module string `json:"module,omitempty"` Filename string `json:"filename,omitempty"` AbsPath string `json:"abs_path,omitempty"` Lineno int `json:"lineno,omitempty"` }
Frame represents a function call and it's metadata. Frames are associated with a Stacktrace.
type Stacktrace ¶
type Stacktrace struct {
Frames []Frame `json:"frames,omitempty"`
}
Stacktrace holds information about the frames of the stack.
Click to show internal directories.
Click to hide internal directories.