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:



709
710
711
# File 'lib/aws-sdk-organizations/errors.rb', line 709

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

Instance Method Details

#messageString

Returns:

  • (String)


714
715
716
# File 'lib/aws-sdk-organizations/errors.rb', line 714

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