Exception: EacRubyUtils::ArgumentsConsumer::InvalidArgumentError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/eac_ruby_utils/arguments_consumer.rb

Instance Method Summary collapse

Constructor Details

#initialize(args_consumer, arg, message) ⇒ InvalidArgumentError

Returns a new instance of InvalidArgumentError.



73
74
75
76
77
# File 'lib/eac_ruby_utils/arguments_consumer.rb', line 73

def initialize(args_consumer, arg, message)
  @args_consumer = args_consumer
  @arg = arg
  super("#{message} (Arg: #{arg}, Args Consumer: #{args_consumer})")
end