mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 07:52:37 +01:00
c184595935
cleaned up container registrations.
21 lines
442 B
C#
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()
|
|
{
|
|
}
|
|
}
|
|
} |