massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / jsonschema / jsonschema / exceptions.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/jsonschema/jsonschema/exceptions.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/jsonschema/jsonschema/exceptions.pyi
new file mode 100644 (file)
index 0000000..078d44b
--- /dev/null
@@ -0,0 +1,81 @@
+from typing import Any
+
+WEAK_MATCHES: Any
+STRONG_MATCHES: Any
+
+class _Error(Exception):
+    message: Any
+    path: Any
+    schema_path: Any
+    context: Any
+    cause: Any
+    validator: Any
+    validator_value: Any
+    instance: Any
+    schema: Any
+    parent: Any
+    def __init__(
+        self,
+        message,
+        validator=...,
+        path=...,
+        cause: Any | None = ...,
+        context=...,
+        validator_value=...,
+        instance=...,
+        schema=...,
+        schema_path=...,
+        parent: Any | None = ...,
+    ) -> None: ...
+    def __unicode__(self): ...
+    @classmethod
+    def create_from(cls, other): ...
+    @property
+    def absolute_path(self): ...
+    @property
+    def absolute_schema_path(self): ...
+
+class ValidationError(_Error): ...
+class SchemaError(_Error): ...
+
+class RefResolutionError(Exception):
+    def __init__(self, cause) -> None: ...
+    def __lt__(self, other): ...
+    def __le__(self, other): ...
+    def __gt__(self, other): ...
+    def __ge__(self, other): ...
+
+class UndefinedTypeCheck(Exception):
+    type: Any
+    def __init__(self, type) -> None: ...
+    def __unicode__(self): ...
+
+class UnknownType(Exception):
+    type: Any
+    instance: Any
+    schema: Any
+    def __init__(self, type, instance, schema) -> None: ...
+    def __unicode__(self): ...
+
+class FormatError(Exception):
+    message: Any
+    cause: Any
+    def __init__(self, message, cause: Any | None = ...) -> None: ...
+    def __unicode__(self): ...
+
+class ErrorTree:
+    errors: Any
+    def __init__(self, errors=...) -> None: ...
+    def __contains__(self, index): ...
+    def __getitem__(self, index): ...
+    def __setitem__(self, index, value) -> None: ...
+    def __iter__(self): ...
+    def __len__(self): ...
+    @property
+    def total_errors(self): ...
+
+def by_relevance(weak=..., strong=...): ...
+
+relevance: Any
+
+def best_match(errors, key=...): ...