errors

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSilent

func IsSilent(err error) bool

IsSilent checks if an error is Silent.

func NewSilent

func NewSilent(err error) error

NewSilent returns a new Silent.

Types

type Silent

type Silent struct {
	// contains filtered or unexported fields
}

Silent is an error that should not be printed. Useful when errors and printed/presented during command execution and it doesn't need to be printed again after the command returns.

Jump to

Keyboard shortcuts

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