Sets the ajax error to pass to the client ajax callback function.

Syntax

Smartsite SXML CopyCode image Copy Code
smartlet.setajaxerror(string message)
smartlet.setajaxerror(string errorCode, string message)

Parameters

Name Data Type Description
message String The message.
errorCode String The error code.

Return Value

None.
SXML