Class: Aws::Lambda::Errors::ResourceNotReadyException

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

Returns a new instance of ResourceNotReadyException.

Parameters:



685
686
687
# File 'lib/aws-sdk-lambda/errors.rb', line 685

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

Instance Method Details

#messageString

Returns:

  • (String)


695
696
697
# File 'lib/aws-sdk-lambda/errors.rb', line 695

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

#typeString

Returns:

  • (String)


690
691
692
# File 'lib/aws-sdk-lambda/errors.rb', line 690

def type
  @data[:type]
end