I'm write code for a living and am trying to find the right word for a flaw in logic. "Error" seems too vague, I'm looking specifically for a word that describes a flaw in logic.
Addendum 1: This would be an unintended flaw in logic. Addendum 2: Preferably 1 word