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