errorx

package
v1.1.3-beta Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chain added in v1.0.22

func Chain(fns ...func() error) error

Types

type AtomicError

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

func (*AtomicError) Load

func (ae *AtomicError) Load() error

func (*AtomicError) Set

func (ae *AtomicError) Set(err error)

type BatchError

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

func (*BatchError) Add

func (be *BatchError) Add(err error)

func (*BatchError) Err

func (be *BatchError) Err() error

func (*BatchError) NotNil

func (be *BatchError) NotNil() bool

Jump to

Keyboard shortcuts

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