mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
Note the errors package on the RPC errors section
This commit is contained in:
parent
c5e969d585
commit
87a77e79cb
|
@ -2,10 +2,11 @@
|
||||||
RPC Errors
|
RPC Errors
|
||||||
==========
|
==========
|
||||||
|
|
||||||
RPC stands for Remote Procedure Call, and when Telethon raises an
|
RPC stands for Remote Procedure Call, and when the library raises
|
||||||
``RPCError``, it's most likely because you have invoked some of the API
|
a ``RPCError``, it's because you have invoked some of the API
|
||||||
methods incorrectly (wrong parameters, wrong permissions, or even
|
methods incorrectly (wrong parameters, wrong permissions, or even
|
||||||
something went wrong on Telegram's server). The most common are:
|
something went wrong on Telegram's server). All the errors are
|
||||||
|
available in :ref:`telethon-errors-package`, but some examples are:
|
||||||
|
|
||||||
- ``FloodWaitError`` (420), the same request was repeated many times.
|
- ``FloodWaitError`` (420), the same request was repeated many times.
|
||||||
Must wait ``.seconds`` (you can access this parameter).
|
Must wait ``.seconds`` (you can access this parameter).
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
.. _telethon-errors-package:
|
||||||
|
|
||||||
|
|
||||||
telethon\.errors package
|
telethon\.errors package
|
||||||
========================
|
========================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user