Class: Aws::LambdaCore::Errors::InvalidParameterValueException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidParameterValueException.

Parameters:



49
50
51
# File 'gems/aws-sdk-lambdacore/lib/aws-sdk-lambdacore/errors.rb', line 49

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

Instance Method Details

#message ⇒ String

Returns:

  • (String)


59
60
61
# File 'gems/aws-sdk-lambdacore/lib/aws-sdk-lambdacore/errors.rb', line 59

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

#type ⇒ String

Returns:

  • (String)


54
55
56
# File 'gems/aws-sdk-lambdacore/lib/aws-sdk-lambdacore/errors.rb', line 54

def type
  @data[:type]
end