2013-05-12 02:38:41 +03:00
|
|
|
using System;
|
2013-08-31 06:08:19 +03:00
|
|
|
using NzbDrone.Common.Messaging.Tracking;
|
2013-05-12 02:38:41 +03:00
|
|
|
|
2013-08-28 09:51:42 +03:00
|
|
|
namespace NzbDrone.Common.Messaging.Events
|
2013-05-12 02:38:41 +03:00
|
|
|
{
|
|
|
|
public class CommandFailedEvent : IEvent
|
|
|
|
{
|
2013-08-31 06:39:05 +03:00
|
|
|
public TrackedCommand TrackedCommand { get; private set; }
|
2013-05-12 02:38:41 +03:00
|
|
|
public Exception Exception { get; private set; }
|
|
|
|
|
2013-08-31 06:39:05 +03:00
|
|
|
public CommandFailedEvent(TrackedCommand trackedCommand, Exception exception)
|
2013-05-12 02:38:41 +03:00
|
|
|
{
|
2013-08-31 06:39:05 +03:00
|
|
|
TrackedCommand = trackedCommand;
|
2013-05-12 02:38:41 +03:00
|
|
|
Exception = exception;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|