No civil action shall be brought against any sheriff, state marshal or constable, for any neglect or default in his or her office or duty, but within two years next after the right of action accrues.