Provides data for the IrcClient.Error event.
Inheritance: System.EventArgs
Exemplo n.º 1
0
 private void OnError(object sender, IrcErrorEventArgs e)
 {
     // HACK : log somewhere, console for now
     Console.WriteLine("Error occured in IRC client: {0}", e.Error.Message);
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
 /// <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);
 }
Exemplo n.º 4
0
 static void client_Error(object sender, IrcErrorEventArgs e)
 {
     Log("Client Error: " + e.Error.Message, ConsoleColor.Magenta);
 }
Exemplo n.º 5
0
 private void ClientOnError(object sender, IrcErrorEventArgs ircErrorEventArgs)
 {
 }
Exemplo n.º 6
0
 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;
 }
Exemplo n.º 8
0
 private void Client_ConnectFailed(object sender, IrcErrorEventArgs e)
 {
     Console.WriteLine($"{serverConfig.ServerId}|CONNECT FAILED: {e.Error}");
 }
Exemplo n.º 9
0
 void client_ConnectFailed(object sender, IrcErrorEventArgs e)
 {
     WriteDiagnosticMessage("Connection failed: {0}", e.Error);
 }
Exemplo n.º 10
0
		public static void OnConnectFailed(object sender, IrcErrorEventArgs e)
		{
			throw new NotImplementedException();
		}
Exemplo n.º 11
0
 void Client_ConnectFailed(object sender, IrcErrorEventArgs e)
 {
 }
Exemplo n.º 12
0
 void client_Error(object sender, IrcErrorEventArgs e)
 {
 }
Exemplo n.º 13
0
 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;
 }
Exemplo n.º 14
0
 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());
		}
Exemplo n.º 16
0
 private void Client_ConnectFailed(object sender, IrcErrorEventArgs e)
 {
     connection.AddHistory(HtmlWriter.WriteError(e.Error.Message));
     Unregister();
 }