mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
28 lines
502 B
ReStructuredText
28 lines
502 B
ReStructuredText
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::
|
|
../errors/SeeOther
|
|
../errors/BadRequest
|
|
../errors/Unauthorized
|
|
../errors/Forbidden
|
|
../errors/NotAcceptable
|
|
../errors/Flood
|
|
../errors/InternalServerError
|
|
../errors/UnknownError
|