The error classes are named with the suffix Error anyway, so it's
confusing that they inherit from Ruby's Exception class. That's not a
nice surprise since Exception is conventionally special in the Ruby
world.
That being said we don't expect anyone to be rescuing these errors, but
it seems unnecessary to prevent it this way.
The error classes are named with the suffix
Error
anyway, so it's confusing that they inherit from Ruby'sException
class. That's not a nice surprise sinceException
is conventionally special in the Ruby world.That being said we don't expect anyone to be rescuing these errors, but it seems unnecessary to prevent it this way.