summaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authorStuart Stock <stuart@int08h.com>2018-03-17 05:28:59 -0500
committerStuart Stock <stuart@int08h.com>2018-03-17 05:36:13 -0500
commitf80c952f6f25b09946a288a51be8016849957553 (patch)
tree0e0751ce86b8c8b9dacbc420219105be387787a5 /src/error.rs
parent583bedf5e271cd2bd971118fab26c6976271afd6 (diff)
downloadroughenough-f80c952f6f25b09946a288a51be8016849957553.zip
Apply default rustfmt style to the project.
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index decc0bc..98f337e 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -22,6 +22,7 @@ pub enum Error {
/// The associated tag was added to an `RtMessage` in non-increasing order.
TagNotStrictlyIncreasing(Tag),
+ /// The associated byte sequence does not correspond to a valid Roughtime tag.
InvalidTag(Box<[u8]>),
/// Encoding failed. The associated `std::io::Error` should provide more information.