sonarr-repo-only/NzbDrone.Api/ErrorManagment/ErrorModel.cs

21 lines
442 B
C#

using System.Linq;
namespace NzbDrone.Api.ErrorManagment
{
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()
{
}
}
}