errors

package
v0.0.0-...-a81527e Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: AGPL-3.0 Imports: 1 Imported by: 24

Documentation

Index

Constants

View Source
const (
	// AgentVersionNotSupported describes an error that occurs when then agent
	// version chosen for model is not supported with respect to the currently
	// running controller.
	AgentVersionNotSupported = errors.ConstError("agent version not supported")

	// AlreadyExists describes an error that occurs when a model already exists.
	AlreadyExists = errors.ConstError("model already exists")

	// AlreadyActivated describes an error that occurs when an attempt is made
	// to activate a model that has already been activated.
	AlreadyActivated = errors.ConstError("model already activated")

	// ConstraintsNotFound describes an error that occurs when no model
	// constraints have been set for the model but they are requested.
	ConstraintsNotFound = errors.ConstError("model constraints not found")

	// ModelConstraintNotFound describes an error that occurs when a model constraint does not
	// have a constraint configured.
	ModelConstraintNotFound = errors.ConstError("model constraint not found")

	// ModelNamespaceNotFound describes an error that occurs when no database
	// namespace for a model exists.
	ModelNamespaceNotFound = errors.ConstError("model namespace not found")

	// NotFound describes an error that occurs when the model being operated on
	// does not exist.
	NotFound = errors.ConstError("model not found")

	// SecretBackendAlreadySet describes an error that occurs when a model's
	// secret backend has already been set.
	SecretBackendAlreadySet = errors.ConstError("secret backend already set")

	// UserNotFoundOnModel describes an error that occurs when information about
	// a user on a particular model cannot be found. This does not mean the user
	// does not exist.
	UserNotFoundOnModel = errors.ConstError("user not found on model")

	// AgentVersionNotFound describes an error that occurs when the model
	// agent version record is not present.
	AgentVersionNotFound = errors.ConstError("agent version not found")
)

Variables

This section is empty.

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