class Errormaster CoffeeIsOut = Class.new(StandardError) # is prettier than class CoffeeIsOut < StandardError; end end
Reference such an error class with Errormaster::CoffeeIsOut.
Errormaster::CoffeeIsOut
Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.