Exceptions

Ruby’s exception handling class, Exception, and its descendents provide support for the notion that the code discovering some sort of error condition may not be the same code that can handle that error condition.

Get Ruby in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.