Documentation ¶
Overview ¶
Package errors is a replacement for the golang standard library "errors". This replacement adds errors to the Open Telemetry spans. The signatures only differs in that New() now takes a context.Context object and fmt.Errorf() has been moved here and also takes a Context.Context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Errorf ¶
Errorf implements fmt.Errorf with the addition of a Context that if it contains a span will have the error added to the span.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.