public void Error(object sender, TurtleCoinErrorEventArgs e) { Console.Addline("Error: " + e.ErrorCode); if (e.ErrorCode == ErrorCode.BAD_CONNECTION) { Console.Addline("Something went wrong trying to connect to the Daemon, if this persists, try connecting to another daemon or initalize a local daemon"); } }
// Print errors to console public void Error(object sender, TurtleCoinErrorEventArgs e) { Console.WriteLine("Error:\t{0}", e.ErrorCode); }
private static void WalletError(object sender, TurtleCoinErrorEventArgs e) { Console.WriteLine("Wallet Error\t" + e.ErrorCode); }
private static void DaemonError(object sender, TurtleCoinErrorEventArgs e) { Console.WriteLine("Daemon Error:\t" + e.ErrorCode); }