Exception: Macros4Cuke::NoFormattingEventForFormatter
- Inherits:
-
Macros4CukeError
- Object
- StandardError
- Macros4CukeError
- Macros4Cuke::NoFormattingEventForFormatter
- Defined in:
- lib/macros4cuke/exceptions.rb
Overview
Raised when the list of formatting events provided by a macro-step formatter is nil or empty.
Instance Method Summary collapse
-
#initialize(aFormatter) ⇒ NoFormattingEventForFormatter
constructor
A new instance of NoFormattingEventForFormatter.
Constructor Details
#initialize(aFormatter) ⇒ NoFormattingEventForFormatter
Returns a new instance of NoFormattingEventForFormatter.
100 101 102 103 104 |
# File 'lib/macros4cuke/exceptions.rb', line 100 def initialize(aFormatter) msg = "Formatter #{aFormatter.class}" msg << ' does not support any formatting event.' super(msg) end |