mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
19 lines
423 B
C#
19 lines
423 B
C#
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()
|
|
{
|
|
}
|
|
}
|
|
} |