Class: Aws::Lambda::Errors::EC2ThrottledException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lambda::Errors::EC2ThrottledException
- Defined in:
- lib/aws-sdk-lambda/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EC2ThrottledException
constructor
A new instance of EC2ThrottledException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EC2ThrottledException
Returns a new instance of EC2ThrottledException.
160 161 162 |
# File 'lib/aws-sdk-lambda/errors.rb', line 160 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
170 171 172 |
# File 'lib/aws-sdk-lambda/errors.rb', line 170 def @message || @data[:message] end |
#type ⇒ String
165 166 167 |
# File 'lib/aws-sdk-lambda/errors.rb', line 165 def type @data[:type] end |