xerrors

package
v0.26.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Errors

type Errors []error

Errors is an error for tracing multiple errors.

func (Errors) Error

func (e Errors) Error() string

func (Errors) ErrorOrNil

func (e Errors) ErrorOrNil() error

ErrorOrNil returns an error if there is more then 0 error, nil otherwise.

type SyncErrors

type SyncErrors struct {
	Errors
	// contains filtered or unexported fields
}

SyncErrors is an error for tracing multiple errors safe to use in multiple goroutines.

func (*SyncErrors) Append

func (e *SyncErrors) Append(err error)

Append appends given err.

Jump to

Keyboard shortcuts

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