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)

where

    sErrMsg is the error message that was saved.

Related Topics

Class Properties

GetStatusCode

CApphot class