Class: Aws::Lambda::Errors::EC2UnexpectedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lambda::Errors::EC2UnexpectedException
- Defined in:
- lib/aws-sdk-lambda/errors.rb
Instance Method Summary collapse
- #ec2_error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EC2UnexpectedException
constructor
A new instance of EC2UnexpectedException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EC2UnexpectedException
Returns a new instance of EC2UnexpectedException.
180 181 182 |
# File 'lib/aws-sdk-lambda/errors.rb', line 180 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#ec2_error_code ⇒ String
195 196 197 |
# File 'lib/aws-sdk-lambda/errors.rb', line 195 def ec2_error_code @data[:ec2_error_code] end |
#message ⇒ String
190 191 192 |
# File 'lib/aws-sdk-lambda/errors.rb', line 190 def @message || @data[:message] end |
#type ⇒ String
185 186 187 |
# File 'lib/aws-sdk-lambda/errors.rb', line 185 def type @data[:type] end |