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