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.
16 lines
532 B
16 lines
532 B
namespace Recyclarr.TrashLib.Config.EnvironmentVariables;
|
|
|
|
public class EnvironmentVariableNotDefinedException : Exception
|
|
{
|
|
public int Line { get; }
|
|
public string EnvironmentVariableName { get; }
|
|
|
|
public EnvironmentVariableNotDefinedException(int line, string environmentVariableName)
|
|
: base(
|
|
$"Line {line} refers to undefined environment variable {environmentVariableName} and no default is specified.")
|
|
{
|
|
Line = line;
|
|
EnvironmentVariableName = environmentVariableName;
|
|
}
|
|
}
|