Creates bounded player-facing diagnostics without exposing exception payloads or filesystem paths.
More...
|
| 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.
|
Creates bounded player-facing diagnostics without exposing exception payloads or filesystem paths.
◆ Failure()
| string GWG.WindowFramework.Theming.PlayerThemeReport.Failure |
( |
Exception | exception | ) |
|
|
inlinestatic |
Classifies filesystem/runtime failures without returning their raw exception messages.
- Parameters
-
| exception | Failure to classify; never serialized or echoed. |
- Returns
- Actionable bounded explanation.
◆ ForDisplay()
| string GWG.WindowFramework.Theming.PlayerThemeReport.ForDisplay |
( |
string | report | ) |
|
|
inlinestatic |
Formats an existing safe report into short paragraphs for the issues modal.
- Parameters
-
| report | Already 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.
◆ PlainText()
| string GWG.WindowFramework.Theming.PlayerThemeReport.PlainText |
( |
string | text | ) |
|
|
inlinestatic |
Returns plain text with control characters and path-bearing words removed.
- Parameters
-
| text | Trusted explanation that may contain purchaser-provided diagnostic text. |
- Returns
- A bounded diagnostic safe for labels with rich text disabled.
◆ MaximumItemLength
| const int GWG.WindowFramework.Theming.PlayerThemeReport.MaximumItemLength = 512 |
|
static |
Maximum characters in a single report item.