File: error.go

package info (click to toggle)
runc 1.1.5%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 2,820 kB
  • sloc: sh: 1,847; ansic: 1,434; makefile: 138
file content (13 lines) | stat: -rw-r--r-- 440 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
package libcontainer

import "errors"

var (
	ErrExist      = errors.New("container with given ID already exists")
	ErrInvalidID  = errors.New("invalid container ID format")
	ErrNotExist   = errors.New("container does not exist")
	ErrPaused     = errors.New("container paused")
	ErrRunning    = errors.New("container still running")
	ErrNotRunning = errors.New("container not running")
	ErrNotPaused  = errors.New("container not paused")
)