Click or drag to resize

JsonSerializerError Method

Create and populate a standard platform JSON error object of type "error".

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static JsonSerializer Error(
	string message,
	LogMessageLevel severity
)

Parameters

message
Type: SystemString
The error message to set in the "message" property.
severity
Type: NetQuarryLogMessageLevel
The error severity to set in the "severity" property, an int.

Return Value

Type: JsonSerializer
The newly created JSON err object.
See Also