Radarr/NzbDrone.Common/Messaging/CommandFailedEvent.cs

16 lines
385 B
C#
Raw Normal View History

using System;
namespace NzbDrone.Common.Messaging
{
public class CommandFailedEvent : IEvent
{
public ICommand Command { get; private set; }
public Exception Exception { get; private set; }
public CommandFailedEvent(ICommand command, Exception exception)
{
Command = command;
Exception = exception;
}
}
}