Programmer's Guide > Interfaces > CMSSessionCreateEvent interface > errorMessage attribute
  
errorMessage attribute
Used when the event handler wants to throw an error exception and additionally provide a human-readable error message. To do this, call preventDefault(), store the appropriate value into errorCode, and store a message into errorMessage.
errorMessage
Access
read-write
Returns
String