using System; namespace EventStore.ClientAPI { /// /// Event Arguments for the event raised when an error occurs on an . /// public class ClientErrorEventArgs : EventArgs { /// /// The thrown exception, if one was raised. /// public Exception Exception { get; private set; } /// /// The responsible for raising the event. /// public IEventStoreConnection Connection { get; private set; } /// /// Constructs a new instance of . /// /// The responsible for raising the event. /// The thrown exception, if one was raised. public ClientErrorEventArgs(IEventStoreConnection connection, Exception exception) { Connection = connection; Exception = exception; } } }