Class: Aws::Organizations::Errors::DestinationParentNotFoundException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-organizations/lib/aws-sdk-organizations/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DestinationParentNotFoundException

Returns a new instance of DestinationParentNotFoundException.

Parameters:



309
310
311
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/errors.rb', line 309

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


314
315
316
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/errors.rb', line 314

def message
  @message || @data[:message]
end