Conveniences for translating and building error messages.
Generates tag for inlined form input errors.
Translates an error message using gettext.
@spec error_tag( atom() | %{:errors => [{any(), any()}], optional(any()) => any()}, atom() ) :: list()
@spec translate_error({binary(), keyword() | map()}) :: binary()