mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
28 lines
842 B
C#
28 lines
842 B
C#
using NzbDrone.Common.Exceptions;
|
|
|
|
namespace NzbDrone.Core.Exceptions
|
|
{
|
|
public class EditionNotFoundException : NzbDroneException
|
|
{
|
|
public string ForeignEditionId { get; set; }
|
|
|
|
public EditionNotFoundException(string foreignEditionId)
|
|
: base($"Edition with id {foreignEditionId} was not found, it may have been removed from metadata server.")
|
|
{
|
|
ForeignEditionId = foreignEditionId;
|
|
}
|
|
|
|
public EditionNotFoundException(string foreignEditionId, string message, params object[] args)
|
|
: base(message, args)
|
|
{
|
|
ForeignEditionId = foreignEditionId;
|
|
}
|
|
|
|
public EditionNotFoundException(string foreignEditionId, string message)
|
|
: base(message)
|
|
{
|
|
ForeignEditionId = foreignEditionId;
|
|
}
|
|
}
|
|
}
|