diff options
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index 094171d..fed741a 100644 --- a/src/error.rs +++ b/src/error.rs @@ -2,9 +2,14 @@ use std; use tag::Tag; +/// Error types generated by this implementation #[derive(Debug)] pub enum Error { + /// The associated tag was added to an `RtMessage` in non-increasing order. TagNotStrictlyIncreasing(Tag), + + /// Encoding failed. The associated `std::io::Error` should provide + /// more information. EncodingFailure(std::io::Error), } |