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