If I am a soldier, then I am brave. I am not a soldier. Therefore, I am not brave.
Which type of logic error is this an example of?

- Affirming the consequent
- Denying the antecedent
- Begging the question
- The fallacy fallacy