summaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 9d01f91..a182ff6 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -6,6 +6,9 @@ use std::{error::Error as StdError, fmt, string::FromUtf8Error};
use futures_util::io::Error as IoError;
+/// Represents the result of all docker operations
+pub type Result<T> = std::result::Result<T, Error>;
+
#[derive(Debug)]
pub enum Error {
SerdeJsonError(SerdeError),