Skip to content

ErrorMessage - cBaseWebComponent

Returns the error message for an index in the error queue

Type: Function
Return Data Type: String

Parameters

Parameter Type Description
iItem Integer Index item number (zero-based)

Syntax

Function ErrorMessage Integer iItem Returns String

Call Example

Get ErrorMessage iItem to StringVariable

Description

ErrorMessage returns the error message for a zero based item in the error queue. When used by a cWebAspClassicObject object, the message will be HTML encoded.

See ErrorQueueStart for more information on queued errors.