summaryrefslogtreecommitdiff
path: root/libpod/errors.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-06-13 15:25:23 +0200
committerGitHub <noreply@github.com>2019-06-13 15:25:23 +0200
commitf628a97be5b142878ab624776505aed315607f12 (patch)
treedd21a1e14c8895d01cbf8ce8ac193dc33e2f7917 /libpod/errors.go
parent77d1cf0a3288da0459c92790a0c2dddf8a68242e (diff)
parent13e1afdb02592ab4b0e4e7fb936c76f5c7dda20a (diff)
downloadpodman-f628a97be5b142878ab624776505aed315607f12.tar.gz
podman-f628a97be5b142878ab624776505aed315607f12.tar.bz2
podman-f628a97be5b142878ab624776505aed315607f12.zip
Merge pull request #3311 from giuseppe/oci-errors
oci: use json formatted errors from the runtime
Diffstat (limited to 'libpod/errors.go')
-rw-r--r--libpod/errors.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/errors.go b/libpod/errors.go
index dd82d0796..cca0935ec 100644
--- a/libpod/errors.go
+++ b/libpod/errors.go
@@ -96,4 +96,7 @@ var (
// ErrOSNotSupported indicates the function is not available on the particular
// OS.
ErrOSNotSupported = errors.New("No support for this OS yet")
+
+ // ErrOCIRuntime indicates an error from the OCI runtime
+ ErrOCIRuntime = errors.New("OCI runtime error")
)