Click or drag to resize

GeneralFormatErrorMessage Method

Return an error message string for the last error.

Namespace: FirmaSAT
Assembly: diFirmaSatNet (in diFirmaSatNet.dll) Version: 10.70.0.38178 (10.70.0.0)
Syntax
public static string FormatErrorMessage(
	int errCode = 0
)

Parameters

errCode  Int32  (Optional)
Error code returned by last call (optional)

Return Value

String
Error message as a string Error ({errCode}): {errorlookup}[: {lasterror}]
Example
C#
// Error (-28): XML restriction is violated/XML restriccion es violada (XML_FACET_ERROR):
// Bad attribute/atributo mal [iedu:instEducativas/@CURP] (line 30):
// 'JUAN01010101GTOHMD0' is too long/es demasiado largo, maximum length/longitud maxima=18
See Also