method

to_s

to_s()
public

Returns exception’s message (or the name of the exception if no message is set).