Class ErrorContext
- Namespace
- VpnHood.AppUi.Common
- Assembly
- VpnHood.AppUi.Common.dll
Represents what the sentence and the buttons for a failure depend on besides the failure: the session's and the profile's standing, and what the app asks for, as the UI holding the app's state reads them.
public sealed record ErrorContext : IEquatable<ErrorContext>
- Inheritance
-
ErrorContext
- Implements
- Inherited Members
Properties
CanImportAccessCode
Gets a value indicating whether a premium code can be typed for the current VPN profile.
public bool CanImportAccessCode { get; init; }
Property Value
CanTryPremium
Gets a value indicating whether the current VPN profile offers a premium trial.
public bool CanTryPremium { get; init; }
Property Value
HasAccessCode
Gets a value indicating whether the current VPN profile has a premium code.
public bool HasAccessCode { get; init; }
Property Value
HasDiagnoseRequested
Gets a value indicating whether the person asked for a diagnosis, so a diagnosis is not offered again.
public bool HasDiagnoseRequested { get; init; }
Property Value
HasVpnProfile
Gets a value indicating whether there is a VPN profile.
public bool HasVpnProfile { get; init; }
Property Value
IsCustomDnsPremiumFeature
Gets a value indicating whether custom DNS is sold as premium, so a private DNS that blocks the ad has a page of its own.
public bool IsCustomDnsPremiumFeature { get; init; }
Property Value
IsPremiumByAccount
Gets a value indicating whether the premium comes from the account's subscription.
public bool IsPremiumByAccount { get; init; }
Property Value
IsPremiumSupported
Gets a value indicating whether the build has a premium tier.
public bool IsPremiumSupported { get; init; }
Property Value
IsPremiumUser
Gets a value indicating whether the current VPN profile is premium.
public bool IsPremiumUser { get; init; }
Property Value
PromptForLog
Gets a value indicating whether the app asks for a report, so every dialog offers it.
public bool PromptForLog { get; init; }