getErrorMessage

gets the current error message

Return

the message from an error state or an empty string for a valid state