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