2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-24 02:47:29 +00:00
pyrogram/docs/source/api/errors.rst

29 lines
516 B
ReStructuredText
Raw Normal View History

2019-05-12 19:26:55 +02:00
RPC Errors
==========
All the Pyrogram errors listed here live inside the ``errors`` sub-package.
**Example:**
.. code-block:: python
from pyrogram.errors import RPCError
try:
...
except RPCError:
...
.. autoexception:: pyrogram.RPCError()
:members:
.. toctree::
2019-05-09 14:37:02 +02:00
../errors/see-other
../errors/bad-request
../errors/unauthorized
../errors/forbidden
../errors/not-acceptable
../errors/flood
../errors/internal-server-error
../errors/unknown-error