Course of Raku / Objects, I/O, and exceptions / Exceptions / Custom exceptions

Quiz — Custom exceptions

To define a custom exception, which built-in class should it inherit from?

0Failure
1Exception
0Error
0X::AdHoc

Course navigation

Solution: Two exception types