reported

package
v1.234.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package reported marks plugin failures that were already shown to the user.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsReported

func IsReported(err error) bool

IsReported reports whether err was marked by Wrap.

func Wrap

func Wrap(err error) error

Wrap returns err unchanged for matching with errors.Is and errors.As, but silent at the root error handler. Use it only after the failure was rendered through the UI channel or a report. A nil error stays nil, and an error that is already reported is not wrapped twice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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