Error:
Fault:
The result of the error is termed as the fault.
It is an anomaly in the software it causes incorrect behavior of the software
It behaves not according to the specifications
Failures:
We can say that a failure is the inability of the software to work in accordance with the software that is mentioned in the SRS document.
Failures and defects we sometimes call bugs