ErrorManager

constructor(isKnownField: (String) -> Boolean)

Parameters

isKnownField

Whether there is a control at the given path. A field error is keyed by a string, so a typo ("titlePl" instead of "title_pl") would land nowhere: the form would only say it "contains errors", without pointing at the field. That is why setting an error under an unknown path throws.