errortracking

package
v1.56.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL