Back to

package componenterror

Latest Go to latest
Published: Jun 16, 2020 | License: Apache-2.0 | Module:


Package oterr provides helper functions to create and process OpenTelemetry specific errors



var (
	// ErrAlreadyStarted indicates an error on starting an already-started component.
	ErrAlreadyStarted = errors.New("already started")

	// ErrAlreadyStopped indicates an error on stoping an already-stopped component.
	ErrAlreadyStopped = errors.New("already stopped")

	// ErrNilNextConsumer indicates an error on nil next consumer.
	ErrNilNextConsumer = errors.New("nil nextConsumer")

func CombineErrors

func CombineErrors(errs []error) error

CombineErrors converts a list of errors into one error.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier