CsWebUiConfigurationException class

Namespace Runic.Application.Views.CsWebUi · Runic.Application.CsWebUi 0.7.0-preview.5

public sealed class CsWebUiConfigurationException : InvalidOperationException

Inherits or implements InvalidOperationException.

Reports a CS-WebUI Window configuration that failed a check before the window opened.

Remarks

CsWebUiBridgeWindowExtensions.OpenWindow and CsWebUiBridgeWindowExtensions.ValidateWindow throw it. The codes match the Runic Desktop configuration diagnostics.

Fields

BridgeNotRegisteredCode

public const string BridgeNotRegisteredCode = "bridge-not-registered"

The code reported when no generated Bridge is registered for the Window's ViewModel.

Properties

Code

public string Code { get; }

Gets the stable code of the failed check, such as CsWebUiConfigurationException.BridgeNotRegisteredCode.

DiagnosticMessage

public string DiagnosticMessage { get; }

Gets what the check found, without the code or remediation.

Remediation

public string Remediation { get; }

Gets how to fix the configuration.