onReceiveError handle implementation