Radarr/NzbDrone.Api/ErrorManagement/ErrorModel.cs

19 lines
423 B
C#
Raw Normal View History

2013-07-19 03:47:55 +00:00
namespace NzbDrone.Api.ErrorManagement
{
public class ErrorModel
{
public string Message { get; set; }
public string Description { get; set; }
public object Content { get; set; }
public ErrorModel(ApiException exception)
{
Message = exception.Message;
Content = exception.Content;
}
public ErrorModel()
{
}
}
}