When making one's own custom exceptions like

class ThingExploded < StandardError; end
class ThingIsMissing < StandardError; end

Where is a good place to keep these? I was considering lib/exceptions.rb… and also pondering if it would be more appropriate to somehow put them closer to the code that uses them.

Edit
Report