Class: Aws::EC2InstanceConnect::Errors::EC2InstanceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EC2InstanceConnect::Errors::EC2InstanceNotFoundException
- Defined in:
- lib/aws-sdk-ec2instanceconnect/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EC2InstanceNotFoundException
constructor
A new instance of EC2InstanceNotFoundException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EC2InstanceNotFoundException
Returns a new instance of EC2InstanceNotFoundException.
69 70 71 |
# File 'lib/aws-sdk-ec2instanceconnect/errors.rb', line 69 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
74 75 76 |
# File 'lib/aws-sdk-ec2instanceconnect/errors.rb', line 74 def @message || @data[:message] end |