massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / jinja2 / exceptions.pyi
1 from typing import Any, Optional, Text\r
2 \r
3 class TemplateError(Exception):\r
4     def __init__(self, message: Optional[Text] = ...) -> None: ...\r
5     @property\r
6     def message(self): ...\r
7     def __unicode__(self): ...\r
8     @property\r
9     def message(self): ...\r
10 \r
11 class TemplateNotFound(IOError, LookupError, TemplateError):\r
12     message = ...  # type: Any\r
13     name = ...  # type: Any\r
14     templates = ...  # type: Any\r
15     def __init__(self, name, message: Optional[Text] = ...) -> None: ...\r
16 \r
17 class TemplatesNotFound(TemplateNotFound):\r
18     templates = ...  # type: Any\r
19     def __init__(self, names: Any = ..., message: Optional[Text] = ...) -> None: ...\r
20 \r
21 class TemplateSyntaxError(TemplateError):\r
22     lineno = ...  # type: int\r
23     name = ...  # type: Text\r
24     filename = ...  # type: Text\r
25     source = ...  # type: Text\r
26     translated = ...  # type: bool\r
27     def __init__(self, message: Text, lineno: int, name: Optional[Text] = ..., filename: Optional[Text] = ...) -> None: ...\r
28 \r
29 class TemplateAssertionError(TemplateSyntaxError): ...\r
30 class TemplateRuntimeError(TemplateError): ...\r
31 class UndefinedError(TemplateRuntimeError): ...\r
32 class SecurityError(TemplateRuntimeError): ...\r
33 class FilterArgumentError(TemplateRuntimeError): ...\r