errorx

package
v1.10.15 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: MIT Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chain

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