Crystal Medium · Lesson 7

Exceptions in depth

Build an exception hierarchy, rescue by type in order, use else and ensure, rescue in a method body, use begin as an expression, and retry with a loop.

Lessons · Crystal Medium · Lesson 7 of 10

Exceptions in depth

Build an exception hierarchy, rescue by type in order, use else and ensure, rescue in a method body, use begin as an expression, and retry with a loop.

Illustration for Crystal
Build an exception hierarchy, rescue by type in order, use else and ensure, rescue in a method body, use begin as an expression, and retry with a loop.