aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-02-23 01:22:49 -0500
committerJesse Luehrs <doy@tozt.net>2021-02-23 01:52:03 -0500
commite6a3feb286ed68876a7c9fd9162266f741ca1a32 (patch)
tree5e1dfd36fe147190320cde9e49a1755e8446e543 /src/error.rs
parentf3e8046eff473aa9bf940b7fbd156cf3dfbfa352 (diff)
downloadpty-process-e6a3feb286ed68876a7c9fd9162266f741ca1a32.tar.gz
pty-process-e6a3feb286ed68876a7c9fd9162266f741ca1a32.zip
add async implementations of the pty itself
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 9b65d6a..7521544 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -1,5 +1,8 @@
#[derive(thiserror::Error, Debug)]
pub enum Error {
+ #[error("error making pty async")]
+ AsyncPty(#[source] std::io::Error),
+
#[error("error creating pty")]
CreatePty(#[source] nix::Error),