method

message

v1_9_1_378 - Show latest stable - Class: Exception
message()
public

Returns the result of invoking exception.to_s. Normally this returns the exception’s message or name. By supplying a to_str method, exceptions are agreeing to be used where Strings are expected.