Exception: Coach::Errors::MiddlewareDependencyNotMet

Inherits:
StandardError
  • Object
show all
Defined in:
lib/coach/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(middleware, keys) ⇒ MiddlewareDependencyNotMet

Returns a new instance of MiddlewareDependencyNotMet.



4
5
6
7
# File 'lib/coach/errors.rb', line 4

def initialize(middleware, keys)
  super("#{middleware.name} requires keys [#{keys.join(',')}] that are not " \
        "provided by the middleware chain")
end