mirror of
https://github.com/Readarr/Readarr
synced 2026-05-02 09:41:11 +02:00
27 lines
830 B
C#
27 lines
830 B
C#
using NzbDrone.Common.Exceptions;
|
|
|
|
namespace NzbDrone.Core.Exceptions
|
|
{
|
|
public class AuthorNotFoundException : NzbDroneException
|
|
{
|
|
public string ForeignAuthorId { get; set; }
|
|
|
|
public AuthorNotFoundException(string foreignAuthorId)
|
|
: base($"Author with id {foreignAuthorId} was not found, it may have been removed from the metadata server.")
|
|
{
|
|
ForeignAuthorId = foreignAuthorId;
|
|
}
|
|
|
|
public AuthorNotFoundException(string foreignAuthorId, string message, params object[] args)
|
|
: base(message, args)
|
|
{
|
|
ForeignAuthorId = foreignAuthorId;
|
|
}
|
|
|
|
public AuthorNotFoundException(string foreignAuthorId, string message)
|
|
: base(message)
|
|
{
|
|
ForeignAuthorId = foreignAuthorId;
|
|
}
|
|
}
|
|
}
|