Documentation

Overview

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

    Index

    Constants

    This section is empty.

    Variables

    View Source
    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")
    )

    Functions

    func CombineErrors

    func CombineErrors(errs []error) error

      CombineErrors converts a list of errors into one error.

      Types

      This section is empty.

      Source Files