private void OnError(object sender, IrcErrorEventArgs e) { // HACK : log somewhere, console for now Console.WriteLine("Error occured in IRC client: {0}", e.Error.Message); }
/// <summary> /// Raises the <see cref="ConnectFailed"/> event. /// </summary> /// <param name="e">The <see cref="IrcErrorEventArgs"/> instance containing the event data.</param> protected virtual void OnConnectFailed(IrcErrorEventArgs e) { var handler = this.ConnectFailed; if (handler != null) handler(this, e); }
/// <summary> /// Raises the <see cref="Error"/> event. /// </summary> /// <param name="e">The <see cref="IrcErrorEventArgs"/> instance containing the event data.</param> protected virtual void OnError(IrcErrorEventArgs e) { var handler = this.Error; if (handler != null) handler(this, e); }
static void client_Error(object sender, IrcErrorEventArgs e) { Log("Client Error: " + e.Error.Message, ConsoleColor.Magenta); }
private void ClientOnError(object sender, IrcErrorEventArgs ircErrorEventArgs) { }
void client_Error(object sender, IrcErrorEventArgs e) { var error = ErrorOccurred; if (error != null) error(this, e); }
/// <summary> /// This is called when IrcDotNet hits an exception. We will reset the connection with a new /// IrcDotNet instance. In practice, this should never happen. /// </summary> void m_client_ErrorOccurred(TwitchClient sender, IrcErrorEventArgs error) { m_error = true; }
private void Client_ConnectFailed(object sender, IrcErrorEventArgs e) { Console.WriteLine($"{serverConfig.ServerId}|CONNECT FAILED: {e.Error}"); }
void client_ConnectFailed(object sender, IrcErrorEventArgs e) { WriteDiagnosticMessage("Connection failed: {0}", e.Error); }
public static void OnConnectFailed(object sender, IrcErrorEventArgs e) { throw new NotImplementedException(); }
void Client_ConnectFailed(object sender, IrcErrorEventArgs e) { }
void client_Error(object sender, IrcErrorEventArgs e) { }
public void ircConnection_Error(object sender, IrcErrorEventArgs e) { Console.WriteLine(String.Format("IRC Error thrown: {0}", e.Error)); LogWrite(String.Format("IRC Error thrown: {0}", e.Error)); ActiveBot = false; }
public void ircConnection_ConnectFailed(object sender, IrcErrorEventArgs e) { Console.WriteLine(String.Format("IRC Error thrown: {0}", e.Error)); }
private void onIrcError(object sender, IrcErrorEventArgs e) { addIrcLogEntry("Error: " + e.Error.ToString()); }
private void Client_ConnectFailed(object sender, IrcErrorEventArgs e) { connection.AddHistory(HtmlWriter.WriteError(e.Error.Message)); Unregister(); }