getErrorMessage

session.getErrorMessage() (enterprise edition only)
Description
Returns the error message set via appendErrorMessage and setErrorMessage.
Example
// Output the current error message to the log.
session.log( "Error message: " + session.getErrorMessage() );