pub fn field_error(html: &str, name: &str) -> Option<ErrorKind>Expand description
Why the field posting name was refused, or None when it renders no error.
§Panics
When the slot names no kind this version knows: a renderer that drops data-error would
otherwise read as any refusal.
Assert on the kind rather than the sentence, which is wording; field_error_message reads
the sentence for a test whose subject is an app’s own message.