Click or drag to resize

PreconditionsMakeContextError Method (Object, String, Object)

Makes error text with respect to the context.

Namespace:  KSPDev.ProcessingUtils
Assembly:  KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
Syntax
C#
public static string MakeContextError(
	Object context,
	string message,
	params Object[] args
)
Request Example View Source

Parameters

context
Type: SystemObject
The context or null. Context can be any string (keep it short) or an object.
message
Type: SystemString
The message to present.
args
Type: SystemObject
The arguments to format the message.

Return Value

Type: String
The complete error string.
See Also