Class: Aws::Organizations::Errors::DuplicatePolicyAttachmentException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Organizations::Errors::DuplicatePolicyAttachmentException
- Defined in:
- lib/aws-sdk-organizations/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DuplicatePolicyAttachmentException
constructor
A new instance of DuplicatePolicyAttachmentException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DuplicatePolicyAttachmentException
Returns a new instance of DuplicatePolicyAttachmentException.
369 370 371 |
# File 'lib/aws-sdk-organizations/errors.rb', line 369 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
374 375 376 |
# File 'lib/aws-sdk-organizations/errors.rb', line 374 def @message || @data[:message] end |