pub enum LzwError {
InvalidCode,
}
Expand description
The error kind after unsuccessful coding of an LZW stream.
Variants§
InvalidCode
The input contained an invalid code.
For decompression this refers to a code larger than those currently known through the prior
decoding stages. For compression this refers to a byte that has no code representation due
to being larger than permitted by the size
parameter given to the Encoder.
Trait Implementations§
source§impl Error for LzwError
impl Error for LzwError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()