The writ of prohibition is the counterpart of the writ of mandate. It arrests the proceedings of any tribunal, corporation, board or person, when such proceedings are without or in excess of the jurisdiction of such tribunal, corporation, board or person.