You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
443 B
21 lines
443 B
using System.Linq;
|
|
|
|
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()
|
|
{
|
|
}
|
|
}
|
|
} |