Note the errors package on the RPC errors section

This commit is contained in:
Lonami Exo 2018-01-14 10:53:29 +01:00
parent c5e969d585
commit 87a77e79cb
2 changed files with 7 additions and 3 deletions

View File

@ -2,10 +2,11 @@
RPC Errors
==========
RPC stands for Remote Procedure Call, and when Telethon raises an
``RPCError``, it's most likely because you have invoked some of the API
RPC stands for Remote Procedure Call, and when the library raises
a ``RPCError``, it's because you have invoked some of the API
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.
Must wait ``.seconds`` (you can access this parameter).

View File

@ -1,3 +1,6 @@
.. _telethon-errors-package:
telethon\.errors package
========================