0 votes
in Ruby by
Explain Ruby exceptions.

1 Answer

0 votes
by

Ruby exception is an object, an instance of the class Exception or descendent of that class. When something goes wrong, Ruby program throws an exceptional behavior. By default Ruby program terminates on throwing an exception.

...