mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com> Co-Authored-By: taloth <taloth@users.noreply.github.com>
38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
using System;
|
|
|
|
namespace NzbDrone.Common.Exceptions
|
|
{
|
|
public class RadarrStartupException : NzbDroneException
|
|
{
|
|
public RadarrStartupException(string message, params object[] args)
|
|
: base("Radarr failed to start: " + string.Format(message, args))
|
|
{
|
|
}
|
|
|
|
public RadarrStartupException(string message)
|
|
: base("Radarr failed to start: " + message)
|
|
{
|
|
}
|
|
|
|
public RadarrStartupException()
|
|
: base("Radarr failed to start")
|
|
{
|
|
}
|
|
|
|
public RadarrStartupException(Exception innerException, string message, params object[] args)
|
|
: base("Radarr failed to start: " + string.Format(message, args), innerException)
|
|
{
|
|
}
|
|
|
|
public RadarrStartupException(Exception innerException, string message)
|
|
: base("Radarr failed to start: " + message, innerException)
|
|
{
|
|
}
|
|
|
|
public RadarrStartupException(Exception innerException)
|
|
: base("Radarr failed to start: " + innerException.Message)
|
|
{
|
|
}
|
|
}
|
|
}
|