Exception: Macros4Cuke::UnknownFormattingEvent
- Inherits:
-
Macros4CukeError
- Object
- StandardError
- Macros4CukeError
- Macros4Cuke::UnknownFormattingEvent
- Defined in:
- lib/macros4cuke/exceptions.rb
Overview
Raised when a macro-step formatter uses an unknown formatting event.
Instance Method Summary collapse
-
#initialize(aFormatter, anEvent) ⇒ UnknownFormattingEvent
constructor
A new instance of UnknownFormattingEvent.
Constructor Details
#initialize(aFormatter, anEvent) ⇒ UnknownFormattingEvent
Returns a new instance of UnknownFormattingEvent.
135 136 137 138 139 |
# File 'lib/macros4cuke/exceptions.rb', line 135 def initialize(aFormatter, anEvent) msg1 = "Formatter #{aFormatter.class}" msg2 = "uses the unknown formatting event '#{anEvent}'." super(msg1 + ' ' + msg2) end |