method

exception

v1_8_7_330 - Show latest stable - Class: Exception
exception(...)
public

With no argument, or if the argument is the same as the receiver, return the receiver. Otherwise, create a new exception object of the same class as the receiver, but with a message equal to string.to_str.