Class: Aws::Organizations::Errors::PolicyInUseException

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) ⇒ PolicyInUseException

Returns a new instance of PolicyInUseException.

Parameters:



619
620
621
# File 'lib/aws-sdk-organizations/errors.rb', line 619

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

Instance Method Details

#messageString

Returns:

  • (String)


624
625
626
# File 'lib/aws-sdk-organizations/errors.rb', line 624

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