gitlab.com/gitlab-org/labkit@v1.21.0/errortracking/capture.go (about)

     1  package errortracking
     2  
     3  // Capture reports an error to the error reporting service.
     4  func Capture(err error, opts ...CaptureOption) {
     5  	DefaultTracker().Capture(err, opts...)
     6  }