aboutsummaryrefslogtreecommitdiff
path: root/src/model/error.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-01-31 14:56:12 -0800
committerZeyla Hellyer <[email protected]>2018-01-31 14:56:56 -0800
commit8578d5fe6e3bdc2842cda9417c242169f93b1a99 (patch)
treeba5ce74c82510f5d3b6b490b09eb5e6d2de77ca1 /src/model/error.rs
parentAdd create message builder example (#268) (diff)
downloadserenity-8578d5fe6e3bdc2842cda9417c242169f93b1a99.tar.xz
serenity-8578d5fe6e3bdc2842cda9417c242169f93b1a99.zip
Fix broken docs links caused by model mod changes
Fix broken links caused by the `model` module changes in v0.5.0, which split up the module into sub-modules for better organization.
Diffstat (limited to 'src/model/error.rs')
-rw-r--r--src/model/error.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/model/error.rs b/src/model/error.rs
index a2b8325..ea919bc 100644
--- a/src/model/error.rs
+++ b/src/model/error.rs
@@ -82,8 +82,8 @@ pub enum Error {
/// An indication that a [guild][`Guild`] could not be found by
/// [Id][`GuildId`] in the [`Cache`].
///
- /// [`Guild`]: ../model/struct.Guild.html
- /// [`GuildId`]: ../model/struct.GuildId.html
+ /// [`Guild`]: ../model/guild/struct.Guild.html
+ /// [`GuildId`]: ../model/id/struct.GuildId.html
/// [`Cache`]: ../cache/struct.Cache.html
GuildNotFound,
/// Indicates that there are hierarchy problems restricting an action.
@@ -104,7 +104,7 @@ pub enum Error {
InvalidPermissions(Permissions),
/// An indicator that the [current user] can not perform an action.
///
- /// [current user]: ../model/struct.CurrentUser.html
+ /// [current user]: ../model/user/struct.CurrentUser.html
InvalidUser,
/// An indicator that an item is missing from the [`Cache`], and the action
/// can not be continued.
@@ -116,7 +116,7 @@ pub enum Error {
///
/// The number of bytes larger than the limit is provided.
///
- /// [`Message`]: ../model/struct.Message.html
+ /// [`Message`]: ../model/channel/struct.Message.html
MessageTooLong(u64),
/// Indicates that the current user is attempting to Direct Message another
/// bot user, which is disallowed by the API.