summaryrefslogtreecommitdiff
path: root/libpod/define/errors.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-22 22:46:18 +0200
committerGitHub <noreply@github.com>2019-07-22 22:46:18 +0200
commita12a2312ac5c6c485eaa1d45e4b7e29d6cc4a9ff (patch)
tree2fe83dbecabff2df6aabfe7204418fd6fa05919e /libpod/define/errors.go
parentcf9efa90e5dcf89e10408eae5229c4ce904d9fc7 (diff)
parent53e1ede46b030ad2aeecbdd7b2a385b60500ac4c (diff)
downloadpodman-a12a2312ac5c6c485eaa1d45e4b7e29d6cc4a9ff.tar.gz
podman-a12a2312ac5c6c485eaa1d45e4b7e29d6cc4a9ff.tar.bz2
podman-a12a2312ac5c6c485eaa1d45e4b7e29d6cc4a9ff.zip
Merge pull request #3143 from haircommander/conmon-exec
use conmon for exec
Diffstat (limited to 'libpod/define/errors.go')
-rw-r--r--libpod/define/errors.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/libpod/define/errors.go b/libpod/define/errors.go
index 3b8313855..a4368a9aa 100644
--- a/libpod/define/errors.go
+++ b/libpod/define/errors.go
@@ -97,6 +97,14 @@ var (
// OS.
ErrOSNotSupported = errors.New("no support for this OS yet")
- // ErrOCIRuntime indicates an error from the OCI runtime
+ // ErrOCIRuntime indicates a generic error from the OCI runtime
ErrOCIRuntime = errors.New("OCI runtime error")
+
+ // ErrOCIRuntimePermissionDenied indicates the OCI runtime attempted to invoke a command that returned
+ // a permission denied error
+ ErrOCIRuntimePermissionDenied = errors.New("OCI runtime permission denied error")
+
+ // ErrOCIRuntimeNotFound indicates the OCI runtime attempted to invoke a command
+ // that was not found
+ ErrOCIRuntimeNotFound = errors.New("OCI runtime command not found error")
)