The central text distinguishes a dispute over the caliphate from an error of ijtihād.

The Companions’ Disputes, Ijtihād, and the Rightly Guided Caliphate