Class: Aws::Organizations::Errors::DuplicateOrganizationalUnitException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Organizations::Errors::DuplicateOrganizationalUnitException
- Defined in:
- lib/aws-sdk-organizations/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DuplicateOrganizationalUnitException
constructor
A new instance of DuplicateOrganizationalUnitException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DuplicateOrganizationalUnitException
Returns a new instance of DuplicateOrganizationalUnitException.
354 355 356 |
# File 'lib/aws-sdk-organizations/errors.rb', line 354 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
359 360 361 |
# File 'lib/aws-sdk-organizations/errors.rb', line 359 def @message || @data[:message] end |