Exception: Macros4Cuke::InvalidCharError

Inherits:
Macros4CukeError show all
Defined in:
lib/macros4cuke/exceptions.rb

Overview

Raised when an argument name contains invalid characters.

Instance Method Summary collapse

Constructor Details

#initialize(aTag, aWrongChar) ⇒ InvalidCharError

Returns a new instance of InvalidCharError.



84
85
86
87
# File 'lib/macros4cuke/exceptions.rb', line 84

def initialize(aTag, aWrongChar)
  msg = "The invalid sign '#{aWrongChar}' occurs in the argument '#{aTag}'."
  super(msg)
end