Exception: Phronomy::FilterBlockError
- Defined in:
- lib/phronomy.rb
Overview
Raised by a Phronomy::Filter::Base subclass when the filter rejects a value without transforming it (blocking the pipeline).
Instance Attribute Summary collapse
- #filter ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(message, filter: nil) ⇒ FilterBlockError
constructor
A new instance of FilterBlockError.
Constructor Details
#initialize(message, filter: nil) ⇒ FilterBlockError
Returns a new instance of FilterBlockError.
96 97 98 99 |
# File 'lib/phronomy.rb', line 96 def initialize(, filter: nil) super() @filter = filter end |
Instance Attribute Details
#filter ⇒ Object (readonly)
94 95 96 |
# File 'lib/phronomy.rb', line 94 def filter @filter end |