errors

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 4

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