Next: , Previous: , Up: Futures   [Contents][Index]


31.6 Orthogonal treatment of soft failures

The treatment of soft failure evolved along with this interface, leaving traces of that evolution in the interface. For example, soft failures should not set the error code, but soft failure in marpa_r_progress_item() sets the error code to MARPA_ERR_PROGRESS_REPORT_EXHAUSTED. See marpa_r_progress_item(). Similar, soft failure marpa_t_next() sets the error code to MARPA_ERR_TREE_EXHAUSTED. These non-orthogonalities should be fixed someday.