aboutsummaryrefslogtreecommitdiff
path: root/src/model/error.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-06-27 18:13:35 -0700
committerZeyla Hellyer <[email protected]>2017-06-27 18:13:35 -0700
commit266411cd6fc9ee96310da52c68264f303bcf5938 (patch)
tree6c9b77f74024aa2e4c56d51f6239893ac7b90be6 /src/model/error.rs
parentUpdate features list in README (diff)
downloadserenity-266411cd6fc9ee96310da52c68264f303bcf5938.tar.xz
serenity-266411cd6fc9ee96310da52c68264f303bcf5938.zip
Add missing ModelError variant in description impl
Diffstat (limited to 'src/model/error.rs')
-rw-r--r--src/model/error.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model/error.rs b/src/model/error.rs
index 4126ac3..3fffca6 100644
--- a/src/model/error.rs
+++ b/src/model/error.rs
@@ -123,6 +123,7 @@ impl StdError for Error {
Error::InvalidUser => "The current user can not perform the action",
Error::ItemMissing => "The required item is missing from the cache",
Error::MessageTooLong(_) => "Message too large",
+ Error::MessagingBot => "Attempted to message another bot user",
}
}
}