1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/NzbDrone.Api/ErrorManagment/ErrorModel.cs
kay.one c184595935 added Nancy pipelines for error handling,
cleaned up container registrations.
2013-02-15 16:52:04 -08:00

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()
{
}
}
}