Qualified Immunity isn't even a law. It's a Constitutional concept -- a legal principle -- used by the Supreme Court to protect government officials performing discretionary (optional) functions from lawsuits for damages unless the plaintiff shows that the official violated "clearly established statutory or constitutional rights of which a reasonable person would have known".
it's broad and vague enough that without something it writing (constitution, law, policy, ordinance, etc.) that clearly says what the government employee did was in violation, and also that the person was aware of that guidance, they can do pretty much anything else.
If you've read a few of Hawaii's statutes, you'll notice many laws have exemptions, and law enforcement gets a lot of them.