aboutsummaryrefslogtreecommitdiff
path: root/src/client/error.rs
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-22 07:57:51 -0800
committerAustin Hellyer <[email protected]>2016-11-22 07:57:51 -0800
commitd4726f899cf6b86d805a8a2a77ec57782ec3bdd6 (patch)
tree7966be3c6d6c4284bb618b88b3f146dd412af677 /src/client/error.rs
parentDon't typo CreateEmbed::image field (diff)
downloadserenity-d4726f899cf6b86d805a8a2a77ec57782ec3bdd6.tar.xz
serenity-d4726f899cf6b86d805a8a2a77ec57782ec3bdd6.zip
Rename the State to Cache
Diffstat (limited to 'src/client/error.rs')
-rw-r--r--src/client/error.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/error.rs b/src/client/error.rs
index 9b542ec..a016e92 100644
--- a/src/client/error.rs
+++ b/src/client/error.rs
@@ -60,11 +60,11 @@ pub enum Error {
/// When there was an error retrieving the gateway URI from the REST API.
Gateway,
/// An indication that a [guild][`LiveGuild`] could not be found by
- /// [Id][`GuildId`] in the [`State`].
+ /// [Id][`GuildId`] in the [`Cache`].
///
/// [`GuildId`]: ../model/struct.GuildId.html
/// [`LiveGuild`]: ../model/struct.LiveGuild.html
- /// [`State`]: ../ext/state/struct.State.html
+ /// [`Cache`]: ../ext/cache/struct.Cache.html
GuildNotFound,
InvalidOpCode,
/// When attempting to perform an action which is only available to user
@@ -92,10 +92,10 @@ pub enum Error {
///
/// [current user]: ../model/struct.CurrentUser.html
InvalidUser,
- /// An indicator that an item is missing from the [`State`], and the action
+ /// An indicator that an item is missing from the [`Cache`], and the action
/// can not be continued.
///
- /// [`State`]: ../ext/state/struct.State.html
+ /// [`Cache`]: ../ext/cache/struct.Cache.html
ItemMissing,
/// Indicates that a [`Message`]s content was too long and will not
/// successfully send, as the length is over 2000 codepoints, or 4000 bytes.
@@ -117,7 +117,7 @@ pub enum Error {
/// When the decoding of a ratelimit header could not be properly decoded
/// from UTF-8.
RateLimitUtf8,
- /// When attempting to find a required record from the State could not be
+ /// When attempting to find a required record from the Cache could not be
/// found. This is required in methods such as [`Context::edit_role`].
///
/// [`Context::edit_role`]: struct.Context.html#method.edit_role