Error: error means while u working on any project in that
project white box tester(programmer)can execute the program
on that time it should not be working fine means on that it
will shows the error what mistake programeer can done in
internally it is a error.
Fault:fault means internally programmer can do some
mistakes is knowing the fault.
A failure of a system occurs when its behavior differs from
the one that has been specified. The part of the system
state leading to the failure is called the error. An error
is always caused by a fault. The fault is the original cause
of an error. A single event upset and an uninitialized
pointer variable in a C language program are examples of
hardware and software faults, respectively.