Called when an error has happened while executing the operation.
Error returned to specify the reason of the failure.