Exception: Macros4Cuke::DataTableNotFound
- Inherits:
-
Macros4CukeError
- Object
- StandardError
- Macros4CukeError
- Macros4Cuke::DataTableNotFound
- Defined in:
- lib/macros4cuke/exceptions.rb
Overview
Raised when one invokes a macro-step without a required data table argument. The exception is raised only only via Cucumber (steps)
Instance Method Summary collapse
-
#initialize(phrase) ⇒ DataTableNotFound
constructor
A new instance of DataTableNotFound.
Constructor Details
#initialize(phrase) ⇒ DataTableNotFound
Returns a new instance of DataTableNotFound.
115 116 117 118 |
# File 'lib/macros4cuke/exceptions.rb', line 115 def initialize(phrase) msg = "The step with phrase [#{phrase}]: requires a data table." super(msg) end |