errors

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: Apache-2.0 Imports: 3 Imported by: 5 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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