Class: Aws::Organizations::Errors::ResourcePolicyNotFoundException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourcePolicyNotFoundException.

Parameters:



727
728
729
# File 'lib/aws-sdk-organizations/errors.rb', line 727

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

Instance Method Details

#messageString

Returns:

  • (String)


732
733
734
# File 'lib/aws-sdk-organizations/errors.rb', line 732

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