errors

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// copy these functions here to avoid package name conflict
	New = errors.New
)

Functions

func PrintUserFixableErrorInstruction

func PrintUserFixableErrorInstruction(err error)

Types

type UserFixableError

type UserFixableError struct {
	Err          error
	Instructions string
}

func NewUserFixableError

func NewUserFixableError(err error, instructions string) UserFixableError

func (UserFixableError) Error

func (e UserFixableError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳