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.



50
51
52
53
# File 'lib/macros4cuke/exceptions.rb', line 50

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