blob: ad082eed6f3255f90b9a07b01cfae2460030b150 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
namespace CrupestApi.Secrets;
public class SecretNotExistException : Exception
{
public SecretNotExistException(string requestSecret)
: base($"Request secret {requestSecret} not found.")
{
RequestSecret = requestSecret;
}
public SecretNotExistException(string requestSecret, string message)
: base(message)
{
RequestSecret = requestSecret;
}
public string RequestSecret { get; set; }
}
|