errors

package
v0.32.3 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelationDiag added in v0.24.0

func CancelationDiag(err error) diag.Diagnostics

func CaptureDiagnostics

func CaptureDiagnostics(dd diag.Diagnostics, tags map[string]string)

func CaptureError

func CaptureError(err error, tags map[string]string)

func IsCancelation added in v0.24.0

func IsCancelation(err error) bool

func ShouldIgnoreDiag

func ShouldIgnoreDiag(d diag.Diagnostic) bool

ShouldIgnoreDiag checks the wire-transferred diagnostic against errors we don't want to process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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