public String getErrorMessage()
Type: String
Note that the error message won’t make a round trip through a Visualforce view state, because exceptions can’t be serialized.