errors

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 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

func NewPublic(internalMsg string, publicMsg string) error

func Opaque

func Opaque(err error, msg string) error

func Public

func Public(err error) string

func Unwrap

func Unwrap(err error) error

func Wrap

func Wrap(err error, msg string) error

Types

type PublicError

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

func (PublicError) Error

func (e PublicError) Error() string

Jump to

Keyboard shortcuts

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