6 class _Error(Exception):
22 cause: Any | None = ...,
28 parent: Any | None = ...,
30 def __unicode__(self): ...
32 def create_from(cls, other): ...
34 def absolute_path(self): ...
36 def absolute_schema_path(self): ...
38 class ValidationError(_Error): ...
39 class SchemaError(_Error): ...
41 class RefResolutionError(Exception):
42 def __init__(self, cause) -> None: ...
43 def __lt__(self, other): ...
44 def __le__(self, other): ...
45 def __gt__(self, other): ...
46 def __ge__(self, other): ...
48 class UndefinedTypeCheck(Exception):
50 def __init__(self, type) -> None: ...
51 def __unicode__(self): ...
53 class UnknownType(Exception):
57 def __init__(self, type, instance, schema) -> None: ...
58 def __unicode__(self): ...
60 class FormatError(Exception):
63 def __init__(self, message, cause: Any | None = ...) -> None: ...
64 def __unicode__(self): ...
68 def __init__(self, errors=...) -> None: ...
69 def __contains__(self, index): ...
70 def __getitem__(self, index): ...
71 def __setitem__(self, index, value) -> None: ...
72 def __iter__(self): ...
73 def __len__(self): ...
75 def total_errors(self): ...
77 def by_relevance(weak=..., strong=...): ...
81 def best_match(errors, key=...): ...