Skip to content

SchemaError

Base classes

Name Children Inherits
ValueError
builtins
Inappropriate argument value (of correct type).

⋔ Inheritance diagram

graph TD
  2853787433["jsonschema_utils.SchemaError"]
  2098401309["builtins.ValueError"]
  1615621424["builtins.Exception"]
  3224121899["builtins.BaseException"]
  2751680898["builtins.object"]
  2098401309 --> 2853787433
  1615621424 --> 2098401309
  3224121899 --> 1615621424
  2751680898 --> 3224121899

🛈 DocStrings

Bases: ValueError

A schema can't be used as asked (e.g. an unresolvable $ref).

Source code in src/schemez/jsonschema_utils.py
class SchemaError(ValueError):
    """A schema can't be used as asked (e.g. an unresolvable ``$ref``)."""

:fa-brands-github: Show source on GitHub