mirror of
https://github.com/Sonarr/Sonarr
synced 2026-01-30 03:12:02 +01:00
21 lines
No EOL
453 B
C#
21 lines
No EOL
453 B
C#
using Sonarr.Http.Exceptions;
|
|
|
|
namespace Sonarr.Http.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()
|
|
{
|
|
}
|
|
}
|
|
} |