Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureErrWithReqAndStackTrace ¶
func CaptureErrWithReqAndStackTrace(err error, r *http.Request, fields ...errortracking.CaptureOption)
CaptureErrWithReqAndStackTrace calls labkit's errortracking function and attaches the request, stack trace and any additional fields
Types ¶
type CaptureOption ¶
type CaptureOption = errortracking.CaptureOption
CaptureOption alias to avoid importing labkit/errortracking in internal packages
func WithField ¶
func WithField(key, value string) CaptureOption
WithField alias to avoid importing labkit/errortracking in internal packages
Click to show internal directories.
Click to hide internal directories.