diff options
author | Stuart Stock <stuart@int08h.com> | 2017-06-19 22:01:46 -0500 |
---|---|---|
committer | Stuart Stock <stuart@int08h.com> | 2017-06-19 22:01:46 -0500 |
commit | dc17df4885cef546ed44d14a291ba782b82d93ed (patch) | |
tree | 8a593164f7d678fcae4501945891eb8bfcb3cfa6 /src/error.rs | |
parent | 13d53fec92fddae9c312d323db81bbcb97adbe21 (diff) | |
download | roughenough-dc17df4885cef546ed44d14a291ba782b82d93ed.zip |
begin work on server
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), } |