Move field_on_error_proc to initializer