Export LinesCodecError (#1350)

This commit is contained in:
John Doneth
2019-07-24 15:26:41 -04:00
committed by Lucio Franco
parent ca0e5cc670
commit 79b017c773
3 changed files with 5 additions and 1 deletions
+3
View File
@@ -190,9 +190,12 @@ impl Encoder for LinesCodec {
}
}
/// An error occured while encoding or decoding a line.
#[derive(Debug)]
pub enum LinesCodecError {
/// The maximum line length was exceeded.
MaxLineLengthExceeded,
/// An IO error occured.
Io(io::Error),
}