![]() |
Custom Asteroids
1.9
A mod for Kerbal Space Program that lets users control where asteroids appear
|
General-purpose functions that don't belong elsewhere. More...
Static Public Member Functions | |
| static void | errorToPlayer (string format, params object[] param) |
| Prints an error message visible to the player. More... | |
| static void | errorToPlayerLoc (string format, params object[] param) |
| Prints an error message visible to the player. More... | |
| static void | errorToPlayer (Exception e, string summary) |
| Prints an exception visible to the player. More... | |
General-purpose functions that don't belong elsewhere.
|
static |
Prints an error message visible to the player.
Does not throw exceptions.
| format | The error message, or a composite format string for the message. |
| param | Any parameters to place in the composite format string (optional). |
Based on code from RemoteTech.
|
static |
Prints an exception visible to the player.
Does not throw exceptions.
| e | The exception to report. |
| summary | Top-level description of the problem, to be given before any exception messages. |
|
static |
Prints an error message visible to the player.
Does not throw exceptions.
| format | The error message, a localization tag, or a Lingoona format string for the message. |
| param | Any parameters to place in the format string (optional). |