Class: Aws::IoT::Errors::MalformedPolicyException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoT::Errors::MalformedPolicyException
- Defined in:
- lib/aws-sdk-iot/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MalformedPolicyException
constructor
A new instance of MalformedPolicyException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MalformedPolicyException
Returns a new instance of MalformedPolicyException.
320 321 322 |
# File 'lib/aws-sdk-iot/errors.rb', line 320 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
325 326 327 |
# File 'lib/aws-sdk-iot/errors.rb', line 325 def @message || @data[:message] end |