We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40cd7ba commit ac7ad7dCopy full SHA for ac7ad7d
1 file changed
pyrogram/methods/decorators/on_error.py
@@ -28,7 +28,7 @@ def on_error(self=None, errors=None) -> Callable:
28
"""Decorator for handling new errors.
29
30
This does the same thing as :meth:`~pyrogram.Client.add_handler` using the
31
- :obj:`~pyrogram.handlers.MessageHandler`.
+ :obj:`~pyrogram.handlers.ErrorHandler`.
32
33
Parameters:
34
errors (:obj:`~Exception`, *optional*):
0 commit comments