Class: Aws::Organizations::Errors::PolicyNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Organizations::Errors::PolicyNotFoundException
- Defined in:
- lib/aws-sdk-organizations/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PolicyNotFoundException
constructor
A new instance of PolicyNotFoundException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PolicyNotFoundException
Returns a new instance of PolicyNotFoundException.
649 650 651 |
# File 'lib/aws-sdk-organizations/errors.rb', line 649 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
654 655 656 |
# File 'lib/aws-sdk-organizations/errors.rb', line 654 def @message || @data[:message] end |