Texas constitution
Article 1: bill of rights
Section 30

(e) The legislature may enact laws to provide that a judge, attorney for the state, peace officer, or law enforcement agency is not liable for a failure or inability to provide a right enumerated in this section. The failure or inability of any person to provide a right or service enumerated in this section may not be used by a defendant in a criminal case as a ground for appeal or post-conviction writ of habeas corpus. A victim or guardian or legal representative of a victim has standing to enforce the rights enumerated in this section but does not have standing to participate as a party in a criminal proceeding or to contest the disposition of any charge.