Method set_field_error is added.