public void HandleTxException(LoomException exception) { for (int i = 0; i < this.Handlers.Length; i++) { this.Handlers[i].HandleTxException(exception); } }
public void HandleTxException(LoomException e) { if (e is InvalidTxNonceException || e is TxAlreadyExistsInCacheException) { this.NextNonce = null; this.Client.Logger.Log($"[NonceLog] Got {e.GetType().Name}, will retrieve nonce from node next time"); } else if (e is TxCommitException) { this.Client.Logger.Log($"[NonceLog] Got {e.GetType().Name} ({e.Message}), so next nonce is still {this.NextNonce}"); } }
public void HandleTxException(LoomException e) { }