rename assign_failure to assign_error