Class: Aws::Lambda::Errors::SnapStartNotReadyException

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

Returns a new instance of SnapStartNotReadyException.

Parameters:



745
746
747
# File 'lib/aws-sdk-lambda/errors.rb', line 745

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

Instance Method Details

#messageString

Returns:

  • (String)


755
756
757
# File 'lib/aws-sdk-lambda/errors.rb', line 755

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

#typeString

Returns:

  • (String)


750
751
752
# File 'lib/aws-sdk-lambda/errors.rb', line 750

def type
  @data[:type]
end