errors

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 1 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

Overview

Package errors contain some well-defined errors that may have to be passed up from low-level layers in the PMEM-CSI stack up to the gRPC interface.

These errors must be wrapped (for example, with %w) so that the upper layers can use errors.Is to recognize these special errors if needed.

Index

Constants

This section is empty.

Variables

View Source
var (
	// DeviceExists device with given id already exists
	DeviceExists = errors.New("device exists")

	// ErrDeviceNotFound device does not exists
	DeviceNotFound = errors.New("device not found")

	// ErrDeviceInUse device is in use
	DeviceInUse = errors.New("device in use")

	// ErrNotEnoughSpace no space to create the device
	NotEnoughSpace = errors.New("not enough space")
)

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