Class: Aws::CloudHSMV2::Errors::CloudHsmResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudHSMV2::Errors::CloudHsmResourceNotFoundException
- Defined in:
- lib/aws-sdk-cloudhsmv2/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ CloudHsmResourceNotFoundException
constructor
A new instance of CloudHsmResourceNotFoundException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ CloudHsmResourceNotFoundException
Returns a new instance of CloudHsmResourceNotFoundException.
109 110 111 |
# File 'lib/aws-sdk-cloudhsmv2/errors.rb', line 109 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
114 115 116 |
# File 'lib/aws-sdk-cloudhsmv2/errors.rb', line 114 def @message || @data[:message] end |