The provisions of this chapter shall not apply to officers or employees of the city, county, state or federal government, or any subdivision thereof, when on official business.