mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
pyrofork: fix on_error help
Signed-off-by: wulan17 <wulan17@komodos.id>
This commit is contained in:
parent
40cd7badd5
commit
ac7ad7d3bc
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class OnError:
|
||||||
"""Decorator for handling new errors.
|
"""Decorator for handling new errors.
|
||||||
|
|
||||||
This does the same thing as :meth:`~pyrogram.Client.add_handler` using the
|
This does the same thing as :meth:`~pyrogram.Client.add_handler` using the
|
||||||
:obj:`~pyrogram.handlers.MessageHandler`.
|
:obj:`~pyrogram.handlers.ErrorHandler`.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
errors (:obj:`~Exception`, *optional*):
|
errors (:obj:`~Exception`, *optional*):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue