cc nasazeni
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace Idoklad.Credentials;
|
||||
|
||||
/// <summary>
|
||||
/// Raised when the request does not provide a complete set of iDoklad credentials,
|
||||
/// neither through request headers nor through the service environment defaults.
|
||||
/// </summary>
|
||||
public sealed class MissingCredentialsException : Exception
|
||||
{
|
||||
public IReadOnlyList<string> MissingHeaders { get; }
|
||||
|
||||
public MissingCredentialsException(IReadOnlyList<string> missingHeaders)
|
||||
: base("Incomplete iDoklad credentials. Provide the missing values as request headers or configure the service defaults.")
|
||||
{
|
||||
MissingHeaders = missingHeaders;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user