Doubt, possibility, unlikelihood

nier que

Subjunctive

Example

Il nie qu'il y ait eu une erreur.

Why

Nier rules the fact out instead of asserting it: subjunctive. You also meet the expletive ne in the negative: « je ne nie pas qu'il n'ait raison ». IN THE NEGATIVE, the indicative is possible and frequent: « je ne nie pas qu'il a raison » asserts the fact instead of ruling it out.

Doubt, possibility, unlikelihood