mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-22 20:39:41 +00:00
22 lines
618 B
Go
22 lines
618 B
Go
// Copyright (c) 2017 Intel Corporation
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
package virtcontainers
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
// common error objects used for argument checking
|
|
var (
|
|
errNeedSandbox = errors.New("Sandbox must be specified")
|
|
errNeedSandboxID = errors.New("Sandbox ID cannot be empty")
|
|
errNeedContainerID = errors.New("Container ID cannot be empty")
|
|
errNeedFile = errors.New("File cannot be empty")
|
|
errNeedState = errors.New("State cannot be empty")
|
|
errInvalidResource = errors.New("Invalid sandbox resource")
|
|
errNoSuchContainer = errors.New("Container does not exist")
|
|
)
|