diff options
-rw-r--r-- | jsonschema/exceptions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jsonschema/exceptions.py b/jsonschema/exceptions.py index e93c145..e94907d 100644 --- a/jsonschema/exceptions.py +++ b/jsonschema/exceptions.py @@ -105,10 +105,10 @@ class UnknownType(Exception): pschema = pprint.pformat(self.schema, width=72) pinstance = pprint.pformat(self.instance, width=72) return textwrap.dedent(""" - Unknown Type: %r, in schema: + Unknown type %r for validator with schema: %s - On instance: + While checking instance: %s """.rstrip() ) % (self.type, _utils.indent(pschema), _utils.indent(pinstance)) |