Class: Aws::Lambda::Errors::SnapStartTimeoutException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of SnapStartTimeoutException.

Parameters:



1185
1186
1187
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 1185

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

Instance Method Details

#message ⇒ String

Returns:

  • (String)


1195
1196
1197
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 1195

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

#type ⇒ String

Returns:

  • (String)


1190
1191
1192
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 1190

def type
  @data[:type]
end