This chapter does not apply to a claim based on an act or omission of the legislature or a member of the legislature acting in his official capacity or to the legislative functions of a governmental unit.