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.
103 104 105 106 |
# File 'lib/phronomy.rb', line 103 def initialize(, filter: nil) super() @filter = filter end |
Instance Attribute Details
#filter ⇒ Object (readonly)
101 102 103 |
# File 'lib/phronomy.rb', line 101 def filter @filter end |