aboutsummaryrefslogtreecommitdiff
path: root/discord/errors.py
Commit message (Collapse)AuthorAgeFilesLines
* ResponseType type alias is privateRapptz2021-08-221-4/+4
|
* Typehint error.pyRapptz2021-07-031-23/+67
|
* Use "raised" instead of "thrown" for exception documentationRapptz2021-07-031-13/+12
|
* Raise an exception if an interaction has been responded beforeRapptz2021-07-031-0/+19
| | | | Fix #7153
* Add `__all__` to remaining modulesNadir Chowdhury2021-04-071-0/+16
|
* Modernize code to use f-stringsRapptz2021-04-041-4/+2
| | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
* Code optimisations and refactoring via SourceryNadir Chowdhury2021-02-241-1/+1
|
* Change copyright year to presentNihaal Sangha2021-01-151-1/+1
|
* Add a special exception for required privileged intentsRapptz2020-09-231-0/+24
|
* Add a more concrete exception for 500 status codes.Rapptz2020-09-091-0/+8
| | | | Fixes #5797
* Propagate manual close codes to socket subclassRapptz2020-08-051-2/+2
| | | | aiohttp seems to not set it during its state machine flow
* Rewrite gateway to use aiohttp instead of websocketsRapptz2020-07-251-4/+5
|
* Bump copyright year to 2020Rapptz2020-01-191-1/+1
| | | | Closes #2510
* Improve documentationNCPlayz2019-06-071-5/+3
|
* Implementing GET '/channels/:id' & '/guilds/:id/channels'NCPlayz2019-06-071-0/+6
| | | | Signed-off-by: NCPlayz <[email protected]>
* Add Discord error code to HTTPException message.Rapptz2019-05-241-3/+3
|
* Try to consistently use "inherit" vs "derive" in documentation.Rapptz2019-03-191-1/+1
|
* Bumped copyright years to 2019.Dante Dam2019-01-281-1/+1
|
* [lint] Limit unneccessarily broad except clausesHornwitser2018-11-241-1/+1
| | | | Add exception qualifier(s) to bare except clauses swallowing exceptions.
* Drop support for Python 3.4 and make minimum version 3.5.2.Rapptz2018-06-101-3/+1
|
* Add intersphinxTobotimus2018-01-061-6/+6
|
* Add webhook support.Rapptz2017-08-211-1/+2
| | | | | | | Allows for usage of either `requests` and `aiohttp` when used in "Standalone" mode. Fixes #704
* Support for API v7 error handling.Rapptz2017-04-151-6/+36
|
* Update copyright year to 2017.Rapptz2017-01-201-1/+1
|
* Rename NoMoreMessages to NoMoreItems.Rapptz2017-01-111-3/+4
|
* Implement AutoShardedClient for transparent sharding.Rapptz2017-01-071-3/+6
| | | | | This allows people to run their >2,500 guild bot in a single process without the headaches of IPC/RPC or much difficulty.
* Split channel types.Rapptz2017-01-031-0/+6
| | | | | | | | | | | This splits them into the following: * DMChannel * GroupChannel * VoiceChannel * TextChannel This also makes the channels "stateful".
* Make HTTPException get the error JSON's message attribute.Rapptz2016-06-121-3/+7
|
* Change HTTPException to only take a single parameter.Rapptz2016-06-121-4/+4
|
* Begin working on gateway v4 support.Rapptz2016-04-271-0/+18
| | | | | | Bump websockets requirement to v3.1 Should be squashed...
* HTTPException now has a text attribute if JSON is not available.Rapptz2016-01-251-1/+6
|
* Update license of files to 2016.Rapptz2016-01-041-1/+1
|
* Add Forbidden and NotFound exceptions.Rapptz2015-12-041-0/+15
|
* Begin working on asyncio port.Rapptz2015-12-041-20/+6
|
* Add LoginFailure exception for a clearer failure in Client.loginRapptz2015-11-271-0/+7
| | | | | The older HTTPException is not exactly the clearest thing for people who are new to programming or HTTP exceptions in general.
* Add the message to the exception output.Rapptz2015-11-271-0/+9
|
* Fix annoying lack of parenthesis at end of HTTPExceptionRapptz2015-11-201-1/+1
|
* Add InvalidArgument exception and change exceptions thrown.Rapptz2015-10-271-0/+10
|
* All HTTP requests now throw HTTPException.Rapptz2015-10-271-1/+27
|
* GatewayNotFound now has a default message.Rapptz2015-10-271-1/+5
|
* Rename InvaldiDestination to a generic ClientException.Rapptz2015-10-271-3/+5
|
* All exceptions now derive from DiscordException.Rapptz2015-10-271-2/+8
|
* Remove InvalidEventName exception due to it being unusedRapptz2015-10-271-4/+0
|
* Move websocket hub to the new gateway.Rapptz2015-08-261-0/+4
|
* Initial commitRapptz2015-08-211-0/+33