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.



86
87
88
89
# File 'lib/macros4cuke/exceptions.rb', line 86

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