namespace Idoklad.Credentials;
///
/// Raised when the request does not provide a complete set of iDoklad credentials,
/// neither through request headers nor through the service environment defaults.
///
public sealed class MissingCredentialsException : Exception
{
public IReadOnlyList MissingHeaders { get; }
public MissingCredentialsException(IReadOnlyList missingHeaders)
: base("Incomplete iDoklad credentials. Provide the missing values as request headers or configure the service defaults.")
{
MissingHeaders = missingHeaders;
}
}