Skip to main content

Module error

Module error 

Source
Expand description

Error types for the OpenJD model library.

The primary error type is ModelError, which covers all failure modes during template parsing, validation, and job creation.

Structs§

DiagnosticSpan
A diagnostic span identifying a specific character range in source text.
ErrorDetail
Structured diagnostic data for a validation error.
ValidationError
A single validation error with its location in the template.
ValidationErrors
Collects multiple validation errors with structured paths.

Enums§

ModelError
PathElement
An element in a validation error path.

Functions§

path_field
Helper: extend a path with a field name.
path_index
Helper: extend a path with an index.