errors

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(err error, target error) bool

func Join

func Join(items ...error) error

func New

func New(msg string) error

func NewPublic added in v0.0.12

func NewPublic(internalMsg string, publicMsg string) error

func Opaque added in v0.0.12

func Opaque(err error, msg string) error

func Public added in v0.0.12

func Public(err error) string

func Unwrap

func Unwrap(err error) error

func Wrap

func Wrap(err error, msg string) error

Types

type PublicError added in v0.0.12

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

func (PublicError) Error added in v0.0.12

func (e PublicError) Error() string

Jump to

Keyboard shortcuts

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