(1) was performed pursuant to a court order or was otherwise performed in an official capacity; and
(2) was not performed with conscious indifference for the safety of others.
(b) Chapter 101, Civil Practice and Remedies Code, does not apply to a claim based on an act or a failure to act of an individual listed in Subsection (c) of this article or a governmental entity the officer serves as an officer or employee if the act or failure to act is in connection with a program described by Subsection (a) of this article.
(c) This article applies to:
(1) a director or employee of a community supervision and corrections department or a community corrections facility;
(2) a sheriff or employee of a sheriff's department;
(3) a county judge, county commissioner, or county employee;
(4) an officer or employee of a state agency; or
(5) an officer or employee of a political subdivision other than a county.
Added by Acts 1993, 73rd Leg., ch. 900, Sec. 5.04, eff. Sept. 1, 1993.