errors

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrTooFuture is returned for a write which is too far in the future.
	ErrTooFuture = xerrors.NewInvalidParamsError(errors.New("datapoint is too far in the future"))

	// ErrTooPast is returned for a write which is too far in the past.
	ErrTooPast = xerrors.NewInvalidParamsError(errors.New("datapoint is too far in the past"))
)

Functions

func IsUnknownNamespaceError added in v0.7.0

func IsUnknownNamespaceError(err error) bool

IsUnknownNamespaceError returns true if this is an unknown namespace.

func NewUnknownNamespaceError added in v0.7.0

func NewUnknownNamespaceError(namespace string) error

NewUnknownNamespaceError returns a new error indicating an unknown namespace parameter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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