egui_table_kit/error.rs
1#[derive(Debug, thiserror::Error)]
2pub enum TableError {
3 /// Raised when internal table indices or states get corrupted or out of sync.
4 #[error("Corrupted table state")]
5 CorruptedState,
6
7 /// Standard Input/Output errors.
8 #[error("IO error: {0}")]
9 Io(#[from] std::io::Error),
10
11 /// Failures in data decompression or deserialization.
12 #[error("Serialization/Decompression error: {0}")]
13 Deserialization(String),
14
15 /// Failures originating from background asynchronous operations.
16 #[error("Operation error: {0}")]
17 Operation(String),
18
19 /// General generic error wrapper.
20 #[error("Generic error: {0}")]
21 Generic(String),
22}