The writ of Certiorari (meaning "to be certified") is issued by a superior court to a lower court or a quasi-judicial body to quash a decision that is legally flawed. One of the primary grounds for issuing Certiorari is an "error of law apparent on the face of the record." This means a legal mistake that is obvious and self-evident from a reading of the order or record, without the need for a detailed examination of evidence. The other writs have different purposes: Mandamus compels a duty, Habeas Corpus secures release from illegal detention, and Quo-warranto challenges the holding of a public office.