errorer

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorfn added in v1.0.17

func Errorfn(err error) func(v interface{}) error

func Errorv added in v1.0.17

func Errorv(err error, v interface{}) error

Types

type Error

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

func Err

func Err(err error) Error

func Errorf

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

func None

func None() Error

func (Error) Error

func (e Error) Error() string

func (Error) MarshalJSON

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

func (*Error) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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