CryptoSys API Library Manual

errFormatErrorMessage

Return an error message string for the last error.

Syntax

[VBA]
Public Function errFormatErrorMessage ( _
    Optional nErrCode As Long = 0, _
    Optional szMsg As String = "" _
) As String

Parameters

nErrCode
Error code returned by last call.
szMsg
Optional message to add.

Return Value

String: Error message as a string including previous ErrorCode, if available.

Example

Error (11): Parameter out of range (RANGE_ERROR)
[PREV: crcString...]   [Contents]   [Index]   
   [NEXT: hashAddBytes...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.