errorx

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

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