#[non_exhaustive]pub enum SearchGuildMessagesErrorType {
Show 18 variants
AttachmentExtensionCount {
count: usize,
},
AttachmentExtensionEntryLength {
index: usize,
value: usize,
},
AttachmentFilenameCount {
count: usize,
},
AttachmentFilenameEntryLength {
index: usize,
value: usize,
},
AuthorIdCount {
count: usize,
},
ChannelIdCount {
count: usize,
},
ContentLength {
value: usize,
},
EmbedProviderCount {
count: usize,
},
EmbedProviderEntryLength {
index: usize,
value: usize,
},
Limit {
value: usize,
},
LinkHostnameEntryLength {
index: usize,
value: usize,
},
LinkHostnameCount {
count: usize,
},
MentionsCount {
count: usize,
},
MentionsRoleIdCount {
count: usize,
},
Offset {
value: usize,
},
RepliedToMessageIdCount {
count: usize,
},
RepliedToUserIdCount {
count: usize,
},
Slop {
value: usize,
},
}Expand description
Type of SearchGuildMessagesError that occurred.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AttachmentExtensionCount
Number of attachment extensions is invalid.
AttachmentExtensionEntryLength
Length of an attachment extension entry is invalid.
AttachmentFilenameCount
Number of attachment filenames is invalid.
AttachmentFilenameEntryLength
Length of an attachment filename entry is invalid.
AuthorIdCount
Number of author IDs is invalid.
ChannelIdCount
Number of channel IDs is invalid.
ContentLength
Length of content is invalid.
EmbedProviderCount
Number of embed providers is invalid.
EmbedProviderEntryLength
Length of an embed provider entry is invalid.
Limit
Number of messages to return is too small or too large.
LinkHostnameEntryLength
Length of a link hostname entry is invalid.
LinkHostnameCount
Number of link hostnames is invalid.
MentionsCount
Number of mentions is invalid.
MentionsRoleIdCount
Number of mention roles is invalid.
Offset
Number of messages to offset by is invalid.
RepliedToMessageIdCount
Number of replied messages is invalid.
RepliedToUserIdCount
Number of replied users is invalid.
Slop
Amount of slop is invalid.