A single validation failure, located in the document tree.
The :path is a list of segments from the root: string keys for map
fields, integers for positions inside content.
Summary
Functions
Renders an error as content[0].attrs.href: message.
Renders a path as content[0].attrs.href, or "" for the document itself.
Types
@type segment() :: String.t() | non_neg_integer()