errors

package
v0.0.0-...-f88c608 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: 10

Documentation

Index

Constants

View Source
const (
	// MissingPoolTypeError is used when a provider type is empty.
	MissingPoolTypeError = errors.ConstError("pool provider type is empty")
	// MissingPoolNameError is used when a name is empty.
	MissingPoolNameError = errors.ConstError("pool name is empty")
	// InvalidPoolNameError is used when a storage pool name is invalid.
	InvalidPoolNameError = errors.ConstError("pool name is not valid")
	// PoolNotFoundError is used when a storage pool is not found.
	PoolNotFoundError = errors.ConstError("storage pool is not found")
	// PoolAlreadyExists is used when a storage pool already exists.
	PoolAlreadyExists = errors.ConstError("storage pool already exists")
	// ErrNoDefaultStoragePool is returned when a storage pool is required but none is specified nor available as a default.
	ErrNoDefaultStoragePool = errors.ConstError("no storage pool specified and no default available")
)

These errors are used for storage pool operations.

View Source
const (
	// MissingSharedStorageDirectiveError is used when a storage directive for shared storage is not provided.
	MissingSharedStorageDirectiveError = errors.ConstError("no storage directive specified")
)

These errors are used for storage directives operations.

View Source
const (
	// StorageNotFound describes an error that occurs when the storage being operated
	// on does not exist.
	StorageNotFound = errors.ConstError("storage 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