RetainedParseResultModule
PackageReified.Schema
Functions for creating and rendering retained schema parse results.
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Representation | ||
| ErrorsFor | this.ErrorsFor | Returns schema errors attached exactly to the supplied structured data path. |
| ErrorsFor | this.ErrorsFor | Returns schema errors attached exactly to the supplied path. |
| TryValue | this.TryValue | Returns the parsed value when input parsing succeeded. |
| Errors | this.Errors | Returns path-aware issues from a failed parse, or an empty list after a successful parse. |
| IsValid | this.IsValid | Returns true when input parsing produced a trusted model. |
| Value | this.Value | Returns the parsed value or raises when input parsing failed. |
| Input | Input | The structured boundary data that was parsed. |
| Result | Result | The parsed model or accumulated schema failures. |
| Operations | ||
| create | RetainedParseResult.create input result | Retains structured data alongside an existing schema parse result. |
| renderErrors | RetainedParseResult.renderErrors parsed | Renders one line for every failed schema issue. |