lib/hanami/middleware/error.rb in hanami-router-2.0.0.beta1 vs lib/hanami/middleware/error.rb in hanami-router-2.0.0.beta2

- old
+ new

@@ -3,10 +3,10 @@ module Hanami # Hanami Rack middleware # # @since 1.3.0 module Middleware - unless defined?(Error) + unless defined?(::Hanami::Middleware::Error) # Base error for Rack middleware # # @since 2.0.0 class Error < ::StandardError end