Exception: Mack::Errors::FilterChainHalted

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

Overview

Raised if a Mack::Controller::Filter returns false.

Instance Method Summary collapse

Constructor Details

#initialize(filter) ⇒ FilterChainHalted

Takes the name of the filter that returned false.



78
79
80
# File 'lib/mack/errors/errors.rb', line 78

def initialize(filter)
  super("The fitler chain was halted because of filter: '#{filter}'")
end