Make FIELD_ERROR_PROC configurable

Minor change on field_error_proc