1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-04 06:38:28 +02:00
Sonarr/NzbDrone.Api/ErrorManagement/ErrorModel.cs

21 lines
443 B
C#
Raw Normal View History

using System.Linq;
2013-02-19 04:13:42 +03: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()
{
}
}
}