errorer

package
v1.0.32 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, a ...any) error

func New added in v1.0.28

func New(message string) error

func None

func None() error

func Wrap added in v1.0.28

func Wrap(err error) error

func Wrapf added in v1.0.29

func Wrapf(err error) func(string, ...any) error

func Wrapv added in v1.0.29

func Wrapv(err error) func(any) error

Types

type Errorer added in v1.0.28

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

func (Errorer) Error added in v1.0.28

func (e Errorer) Error() string

func (Errorer) MarshalJSON added in v1.0.28

func (e Errorer) MarshalJSON() ([]byte, error)

func (Errorer) String added in v1.0.28

func (e Errorer) String() string

func (*Errorer) UnmarshalJSON added in v1.0.28

func (e *Errorer) UnmarshalJSON(data []byte) error

func (Errorer) Unwrap added in v1.0.28

func (e Errorer) Unwrap() error

Jump to

Keyboard shortcuts

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