diff options
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index ee160ce..5fa2f4d 100644 --- a/src/error.rs +++ b/src/error.rs @@ -303,6 +303,9 @@ pub enum Error { #[snafu(display("failed to read from terminal: {}", source))] ReadTerminal { source: std::io::Error }, + #[snafu(display("failed to read ttyrec: {}", source))] + ReadTtyrec { source: ttyrec::Error }, + #[snafu(display("failed to resize pty: {}", source))] ResizePty { source: std::io::Error }, @@ -464,6 +467,9 @@ pub enum Error { #[snafu(display("failed to write to terminal: {}", source))] WriteTerminalSync { source: std::io::Error }, + + #[snafu(display("failed to write ttyrec: {}", source))] + WriteTtyrec { source: ttyrec::Error }, } pub type Result<T> = std::result::Result<T, Error>; |