Class: Aws::Lambda::Errors::ResourceNotFoundException

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) ⇒ ResourceNotFoundException

Returns a new instance of ResourceNotFoundException.

Parameters:



665
666
667
# File 'lib/aws-sdk-lambda/errors.rb', line 665

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

Instance Method Details

#messageString

Returns:

  • (String)


675
676
677
# File 'lib/aws-sdk-lambda/errors.rb', line 675

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

#typeString

Returns:

  • (String)


670
671
672
# File 'lib/aws-sdk-lambda/errors.rb', line 670

def type
  @data[:type]
end