Window Framework for UI Toolkit v2.0.x
GWG.WindowFramework.Theming.PlayerThemeReport Class Reference

Creates bounded player-facing diagnostics without exposing exception payloads or filesystem paths. More...

Static Public Member Functions

static string Failure (Exception exception)
 Classifies filesystem/runtime failures without returning their raw exception messages.
static string ForDisplay (string report)
 Formats an existing safe report into short paragraphs for the issues modal.
static string PlainText (string text)
 Returns plain text with control characters and path-bearing words removed.

Static Public Attributes

const int MaximumItemLength = 512
 Maximum characters in a single report item.

Detailed Description

Creates bounded player-facing diagnostics without exposing exception payloads or filesystem paths.

Member Function Documentation

◆ Failure()

string GWG.WindowFramework.Theming.PlayerThemeReport.Failure ( Exception exception)
inlinestatic

Classifies filesystem/runtime failures without returning their raw exception messages.

Parameters
exceptionFailure to classify; never serialized or echoed.
Returns
Actionable bounded explanation.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ForDisplay()

string GWG.WindowFramework.Theming.PlayerThemeReport.ForDisplay ( string report)
inlinestatic

Formats an existing safe report into short paragraphs for the issues modal.

Parameters
reportAlready validated/redacted report text, not a raw exception or filesystem payload.
Returns
Bounded plain text with sentence/clause breaks outside quoted search strings.

Presentation only: does not change validation, stored reports, keys or fallback. Quoted keys/values, namespace dots and decimal points remain intact. Rich text stays disabled.

Here is the caller graph for this function:

◆ PlainText()

string GWG.WindowFramework.Theming.PlayerThemeReport.PlainText ( string text)
inlinestatic

Returns plain text with control characters and path-bearing words removed.

Parameters
textTrusted explanation that may contain purchaser-provided diagnostic text.
Returns
A bounded diagnostic safe for labels with rich text disabled.
Here is the caller graph for this function:

Field Documentation

◆ MaximumItemLength

const int GWG.WindowFramework.Theming.PlayerThemeReport.MaximumItemLength = 512
static

Maximum characters in a single report item.