diff options
| author | Rapptz <[email protected]> | 2017-01-11 19:53:29 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-11 19:53:48 -0500 |
| commit | 06ca5184596d187b1737484b265d847b8efb3dc1 (patch) | |
| tree | c6f546a733c0e95ca7e17206946f7c05131ec87b /discord/errors.py | |
| parent | Allow HistoryIterator to be flattened into a list. (diff) | |
| download | discord.py-06ca5184596d187b1737484b265d847b8efb3dc1.tar.xz discord.py-06ca5184596d187b1737484b265d847b8efb3dc1.zip | |
Rename NoMoreMessages to NoMoreItems.
Diffstat (limited to 'discord/errors.py')
| -rw-r--r-- | discord/errors.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/discord/errors.py b/discord/errors.py index 46751b62..795c0bf6 100644 --- a/discord/errors.py +++ b/discord/errors.py @@ -38,9 +38,10 @@ class ClientException(DiscordException): """ pass -class NoMoreMessages(DiscordException): - """Exception that is thrown when a ``history`` operation has no more - messages. This is only exposed for Python 3.4 only. +class NoMoreItems(DiscordException): + """Exception that is thrown when an async iteration operation has no more + items. This is mainly exposed for Python 3.4 support where `StopAsyncIteration` + is not provided. """ pass |