Skip to main content

Module input

Module input 

Source
Expand description

Declared input: read, parse, validate once, and place every problem. Declared input: read a file, parse its shape with serde-saphyr, validate it once with garde, and report every problem on its file and line.

This is the one boundary where a CLI’s config enters. Downstream code keeps the validated type and never checks it again.

Structs§

Input
A named YAML text, ready to parse and validate.
InputError
Why an input was refused: every problem found, each placed on a line when the text allows it.
Problem
One thing wrong with an input.