tsdb: github.com/prometheus/tsdb/errors Index | Files

package errors

import "github.com/prometheus/tsdb/errors"

Index

Package Files

errors.go

type MultiError Uses

type MultiError []error

The MultiError type implements the error interface, and contains the Errors used to construct it.

func (*MultiError) Add Uses

func (es *MultiError) Add(err error)

Add adds the error to the error list if it is not nil.

func (MultiError) Err Uses

func (es MultiError) Err() error

Err returns the error list as an error or nil if it is empty.

func (MultiError) Error Uses

func (es MultiError) Error() string

Returns a concatenated string of the contained errors

Package errors imports 2 packages (graph) and is imported by 13 packages. Updated 2019-03-19. Refresh now. Tools for package owners.