Legendary.CoreWeb.ErrorHelpers.error_class

You're seeing just the function error_class, go back to Legendary.CoreWeb.ErrorHelpers module for more information.
Link to this function

error_class(form, field)

View Source