summaryrefslogtreecommitdiff
path: root/src/Agent.App/Configuration/ConfigurationException.cs
blob: dd14ea92ff65fac6fb84c0a148447a3b76081992 (plain)
1
2
3
4
5
6
7
8
9
10
11
namespace Agent.App.Configuration;

public sealed class ConfigurationException(string message, Exception? innerException = null,
    string code = "configuration.invalid", string category = "configuration", string? target = null,
    string? resolution = null) : Exception(message, innerException)
{
    public string Code { get; } = code;
    public string Category { get; } = category;
    public string? Target { get; } = target;
    public string? Resolution { get; } = resolution;
}