aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/yaml-stubs/error.pyi
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/yaml-stubs/error.pyi')
-rw-r--r--.venv/lib/python3.12/site-packages/yaml-stubs/error.pyi26
1 files changed, 26 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/yaml-stubs/error.pyi b/.venv/lib/python3.12/site-packages/yaml-stubs/error.pyi
new file mode 100644
index 00000000..35c410ac
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/yaml-stubs/error.pyi
@@ -0,0 +1,26 @@
+class Mark:
+ name: str
+ index: int
+ line: int
+ column: int
+ buffer: str | None
+ pointer: int
+ def __init__(self, name: str, index: int, line: int, column: int, buffer: str | None, pointer: int) -> None: ...
+ def get_snippet(self, indent: int = 4, max_length: int = 75) -> str | None: ...
+
+class YAMLError(Exception): ...
+
+class MarkedYAMLError(YAMLError):
+ context: str | None
+ context_mark: Mark | None
+ problem: str | None
+ problem_mark: Mark | None
+ note: str | None
+ def __init__(
+ self,
+ context: str | None = None,
+ context_mark: Mark | None = None,
+ problem: str | None = None,
+ problem_mark: Mark | None = None,
+ note: str | None = None,
+ ) -> None: ...