pyvale.render.errors module

Rendering validation errors.

exception RenderInputError(issues)[source]

Bases: ValueError

Raised when a render request has one or more invalid inputs.

Parameters:

issues (tuple[ValidationIssue, ]) – All validation issues detected for one render request.

Variables:

issues (tuple[ValidationIssue, ]) – All validation issues supplied at construction.

__init__(issues)[source]

Create an error whose text combines all validation issues.

class ValidationIssue(path, code, message)[source]

Bases: object

One input problem found before rendering begins.

Parameters:
  • path (str) – Dotted path to the invalid input.

  • code (str) – Stable, machine readable issue category.

  • message (str) – Human readable explanation of the problem.

path
code
message
__init__(path, code, message)