21 lines
402 B
C#
21 lines
402 B
C#
using System;
|
|
|
|
namespace ChatSharp.Events
|
|
{
|
|
/// <summary>
|
|
/// Raised when a Error occurs.
|
|
/// </summary>
|
|
public class ErrorEventArgs : EventArgs
|
|
{
|
|
/// <summary>
|
|
/// The error that has occured.
|
|
/// </summary>
|
|
public Exception Error { get; set; }
|
|
|
|
internal ErrorEventArgs(Exception error)
|
|
{
|
|
Error = error;
|
|
}
|
|
}
|
|
}
|