lib/aws-sdk-cloudhsmv2/errors.rb in aws-sdk-cloudhsmv2-1.19.0 vs lib/aws-sdk-cloudhsmv2/errors.rb in aws-sdk-cloudhsmv2-1.20.0

- old
+ new

@@ -88,7 +88,23 @@ @message || @data[:message] end end + class CloudHsmTagException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudHSMV2::Types::CloudHsmTagException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + end end