CApphot:GetErrMsg


Returns the error message set by the failure of the GetImageParams or Measure methods. If either of these methods encounters an error it sets the value nStatusCode class member and saves an error message that can be accessed using this method. The error messages are described in the documentation for each of these methods. This method has two names; both return the same value.

Syntax

sErrMsg = CApphot:GetErrMsg()

sErrMsg = CApphot:GetErrorMsg() (legacy name)

bullet.gif    sErrMsg is the error message that was saved.

Related Topics

CApphot class, CApphot Properties, GetStatusCode


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.