CryptoSys PKI Pro Manual

General.FormatErrorMessage Method

Return an error message string for the last error.

Syntax

[C#]
public static string FormatErrorMessage(
   int errCode = 0,
   string userMsg = "" 
)
[VB]
Public Shared Function FormatErrorMessage (
   Optional errCode As Integer = 0,
   Optional userMsg As String = "" 
) As String

Parameters

errCode  Int32  (Optional)
Error code returned by last call (optional)
userMsg  String  (Optional)
Optional message string

Return Value

Error message as a string Error (errCode) ...

[Contents] [Index]

[PREV: General.ErrorLookup Method...]   [Contents]   [Index]   
   [NEXT: General.LastError Method...]

Copyright © 2004-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-17T11:18:15Z.