Zot.Issue exception (zot v0.12.0)
View SourceRepresents a single issue found when parsing / validating a value against a type.
Summary
Functions
Creates a new issue.
Prepends segements to the given issue's path.
Renders the given list of issues into a pretty-printed string.
Summarizes a list of issues into a map of field path (dot-notated) to its messages.
Types
Functions
Creates a new issue.
@spec prepend_path(t(), [segment()]) :: t()
@spec prepend_path([t(), ...], [segment()]) :: [t(), ...]
Prepends segements to the given issue's path.
Renders the given list of issues into a pretty-printed string.
Summarizes a list of issues into a map of field path (dot-notated) to its messages.