Class: Aws::Organizations::Errors::ResourcePolicyNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Organizations::Errors::ResourcePolicyNotFoundException
- Defined in:
- lib/aws-sdk-organizations/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourcePolicyNotFoundException
constructor
A new instance of ResourcePolicyNotFoundException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourcePolicyNotFoundException
Returns a new instance of ResourcePolicyNotFoundException.
709 710 711 |
# File 'lib/aws-sdk-organizations/errors.rb', line 709 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
714 715 716 |
# File 'lib/aws-sdk-organizations/errors.rb', line 714 def @message || @data[:message] end |