mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-25 14:24:32 +00:00
25 lines
675 B
C#
25 lines
675 B
C#
namespace SteamLib.Exceptions;
|
|
|
|
public class UnknownSteamDomainException : Exception
|
|
{
|
|
public string? Domain { get; }
|
|
public UnknownSteamDomainException(string? domain)
|
|
{
|
|
Domain = domain;
|
|
}
|
|
|
|
public UnknownSteamDomainException(string? domain, string? message) : base(message)
|
|
{
|
|
Domain = domain;
|
|
}
|
|
|
|
public UnknownSteamDomainException(string? domain, string? message, Exception? inner) : base(message, inner)
|
|
{
|
|
Domain = domain;
|
|
}
|
|
|
|
public static UnknownSteamDomainException Create(string? domain, Exception? inner = null)
|
|
{
|
|
return new(domain, $"Unknown Steam domain: {domain}", inner);
|
|
}
|
|
} |