Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFramesFromError ¶
func CreateFramesFromError(err interface{}) []*honeybadger.Frame
CreateFramesFromError builds stack frames from the error object
func NotifyGinError ¶
NotifyGinError does alomst the same as NotifyGinErrorWithFrames, except stack frames are automatically generated from the err itself
func NotifyGinErrorWithFrames ¶
func NotifyGinErrorWithFrames(err interface{}, body []byte, c *gin.Context, frames []*honeybadger.Frame)
NotifyGinErrorWithFrames notifies the err and its arbitrary stack frames, along with a context of the certain http request
func NotifyPanic ¶
func NotifyPanic(output string)
NotifyPanic notifies a panic event with useful contextual informations. It analyzes a buffer string from the output of panic, and creates error and context objects that are eligible for honeybadger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.