pyrogram/compiler/error/template/class.txt

13 lines
167 B
Plaintext
Raw Normal View History

2017-12-05 11:21:55 +00:00
{notice}
from ..error import Error
class {super_class}(Error):
2017-12-30 18:25:17 +00:00
{docstring}
2017-12-05 11:21:55 +00:00
CODE = {code}
2017-12-30 18:25:17 +00:00
""":obj:`int`: Error Code"""
NAME = __doc__
2017-12-05 11:21:55 +00:00
{sub_classes}