module SimpleForm::Components::Errors

def has_errors?

def has_errors?
  object_with_errors? || !object && has_custom_error?
end