lib/happy.rb in happy-0.1.0.pre.1 vs lib/happy.rb in happy-0.1.0.pre.2
- old
+ new
@@ -1,13 +1,14 @@
require 'active_support/all' # SMELL
require 'happy/context'
require 'happy/controller'
-require 'happy/static'
module Happy
- class HappyError < StandardError ; end
- class NotFoundError < HappyError ; end
+ module Errors
+ class Base < StandardError ; end
+ class NotFound < Base ; end
+ end
def self.env
ActiveSupport::StringInquirer.new(ENV['RACK_ENV'] || 'development')
end
end