aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-02-24 04:40:02 -0500
committerJesse Luehrs <doy@tozt.net>2021-02-24 04:40:02 -0500
commitcc06e4fc8557f9c277c3875ca550ea2d567e8599 (patch)
treea6382023eee4681645e7f6fbc66312d0f470d13c /src/error.rs
parent27aa8c71d7946c3a11f76c7493afb9d827ada4bd (diff)
downloadpty-process-cc06e4fc8557f9c277c3875ca550ea2d567e8599.tar.gz
pty-process-cc06e4fc8557f9c277c3875ca550ea2d567e8599.zip
make the tokio pty backend actually work properly
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index 7521544..5253cd9 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -3,6 +3,9 @@ pub enum Error {
#[error("error making pty async")]
AsyncPty(#[source] std::io::Error),
+ #[error("error making pty async")]
+ AsyncPtyNix(#[source] nix::Error),
+
#[error("error creating pty")]
CreatePty(#[source] nix::Error),