Class: Aws::EC2InstanceConnect::Errors::EC2InstanceStateInvalidException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EC2InstanceConnect::Errors::EC2InstanceStateInvalidException
- Defined in:
- lib/aws-sdk-ec2instanceconnect/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EC2InstanceStateInvalidException
constructor
A new instance of EC2InstanceStateInvalidException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EC2InstanceStateInvalidException
Returns a new instance of EC2InstanceStateInvalidException.
84 85 86 |
# File 'lib/aws-sdk-ec2instanceconnect/errors.rb', line 84 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
89 90 91 |
# File 'lib/aws-sdk-ec2instanceconnect/errors.rb', line 89 def @message || @data[:message] end |