Class: Aws::Lambda::Errors::InvalidParameterValueException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-lambda/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidParameterValueException

Returns a new instance of InvalidParameterValueException.

Parameters:


321
322
323
# File 'lib/aws-sdk-lambda/errors.rb', line 321

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)

331
332
333
# File 'lib/aws-sdk-lambda/errors.rb', line 331

def message
  @message || @data[:message]
end

#typeString

Returns:

  • (String)

326
327
328
# File 'lib/aws-sdk-lambda/errors.rb', line 326

def type
  @data[:type]
end