Peri.JSONSchema.Encoder.UnsupportedTypeError exception (peri v0.12.0)

Copy Markdown View Source

Raised when JSON Schema encoding uses on_unsupported: :raise and encounters a Peri schema node that cannot be represented statically.

The exception's :type field contains the unsupported node and :reason describes why it could not be encoded.