Class: Aws::RAM::Errors::InvalidPolicyException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::RAM::Errors::InvalidPolicyException
- Defined in:
- lib/aws-sdk-ram/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidPolicyException
constructor
A new instance of InvalidPolicyException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidPolicyException
Returns a new instance of InvalidPolicyException.
145 146 147 |
# File 'lib/aws-sdk-ram/errors.rb', line 145 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
150 151 152 |
# File 'lib/aws-sdk-ram/errors.rb', line 150 def @message || @data[:message] end |