aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index 662f860..ee160ce 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -98,6 +98,12 @@ pub enum Error {
#[snafu(display("failed to write to stdout: {}", source))]
FlushTerminalSync { source: std::io::Error },
+ #[snafu(display("failed to create ttyrec frame: got {} bytes of data, but ttyrec frames can be at most {} bytes", input, u32::max_value()))]
+ FrameTooBig { input: usize },
+
+ #[snafu(display("failed to create ttyrec frame: got {} seconds, but ttyrecs can be at most {} seconds", input, u32::max_value()))]
+ FrameTooLong { input: u64 },
+
#[snafu(display(
"failed to get recurse center profile data: {}",
source