getErrorMessage method

Gets the error message.

 Syntax
 Returns