gerrors

package
v0.0.0-...-89416fd Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Errors []error
	// contains filtered or unexported fields
}

func Append

func Append(err error, errs ...error) *Error

func NewGError

func NewGError(e error) *Error

func OnlyError

func OnlyError(_ interface{}, err error) *Error

func (*Error) Error

func (e *Error) Error() string

func (*Error) ErrorOrNil

func (e *Error) ErrorOrNil() error

func (*Error) GoString

func (e *Error) GoString() string

func (*Error) Unwrap

func (e *Error) Unwrap() error

func (*Error) WrappedErrors

func (e *Error) WrappedErrors() []error

Jump to

Keyboard shortcuts

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