Previous Topic: GetErrorCode()Next Topic: GetVersion()


GetErrorMessage()

Returns a text string that describes the last error encountered.

Syntax

string GetErrorMessage()

Returns

A readable string that describes the last error encountered.

Example

<HTML>
<HEAD>
<TITLE>Authentication Failure</TITLE>
</HEAD>

<BODY>
<H2>Authentication Failure!</H2>

<SCRIPT LANGUAGE="JavaScript">

var arcotClient = new ArcotClient();
var reason = arcotclient.GetErrorMessage();
document.write("<P>" + reason + "</P>");