MTPyroger/docs/source/pyrogram/errors.rst

29 lines
508 B
ReStructuredText
Raw Normal View History

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 12:37:02 +00:00
../errors/see-other
../errors/bad-request
../errors/unauthorized
../errors/forbidden
../errors/not-acceptable
../errors/flood
../errors/internal-server-error
../errors/unknown-error