The General Assembly has determined that nonprofit corporations serve important functions in providing services and assistance to persons in the state and that, in order for these nonprofit corporations to function effectively, persons serving on the board of directors should not be subject to vicarious liability for the negligence of corporate employees or other directors. The General Assembly has further determined that potential exposure to vicarious liability has a detrimental effect on the participation of persons as directors of nonprofit corporations and that providing immunity to directors of those corporations for certain types of liability will be in the best interest of the state and that the same immunity should be extended to members of governing bodies of governmental entities.