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
380 B
15 lines
380 B
namespace TrashLib.Config.Secrets;
|
|
|
|
public class SecretNotFoundException : Exception
|
|
{
|
|
public int Line { get; }
|
|
public string SecretKey { get; }
|
|
|
|
public SecretNotFoundException(int line, string secretKey)
|
|
: base($"Secret used on line {line} with key {secretKey} is not defined in secrets.yml")
|
|
{
|
|
Line = line;
|
|
SecretKey = secretKey;
|
|
}
|
|
}
|