xerrors

package
v3.0.0-rc62 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 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 (
	ExitCodeObjectNotFound             = 2
	ExitCodeInstanceNotFound           = 3
	ExitCodeInstanceActionNotSupported = 4
	ExitCodeResizeNoSuchStage          = 5
	ExitCodeNothingToCollect           = 6
	ExitCodeInstanceDisabled           = 7

	ObjectNotFound             = newIndexedError("object not found", ExitCodeObjectNotFound)
	InstanceNotFound           = newIndexedError("instance not found", ExitCodeInstanceNotFound)
	InstanceActionNotSupported = newIndexedError("instance action not supported", ExitCodeInstanceActionNotSupported)

	// ResizeNoSuchStage says the chain has no stage of that number to run
	// here. It is how a node driving a resize learns it has reached the end
	// of the chain, which no one can tell it: the stages are read from the
	// chain, and only the node walking it knows how many there are.
	ResizeNoSuchStage = newIndexedError("no such stage", ExitCodeResizeNoSuchStage)

	// NothingToCollect says a push has nothing to collect on the node, as
	// the stats push on a node without sysstat: the push is not run, which
	// is no failure of the scheduled push, but a user running it is told.
	NothingToCollect = newIndexedError("nothing to collect", ExitCodeNothingToCollect)

	// InstanceDisabled says the instance is disabled: the action did
	// nothing, as the disable keyword says, which is no failure of the
	// action, but not its success either.
	InstanceDisabled = newIndexedError("object instance is disabled", ExitCodeInstanceDisabled)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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