Every warrant of commitment, issued by a court or officer pursuant to this chapter, shall specify therein, particularly, the cause of the commitment, and if it be for refusing to answer a question, that question shall be stated in the warrant.
Ca. Civ. Proc. Code § 1994