Class: Aws::SNS::Errors::OptedOutException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SNS::Errors::OptedOutException
- Defined in:
- lib/aws-sdk-sns/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OptedOutException
constructor
A new instance of OptedOutException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OptedOutException
Returns a new instance of OptedOutException.
376 377 378 |
# File 'lib/aws-sdk-sns/errors.rb', line 376 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
381 382 383 |
# File 'lib/aws-sdk-sns/errors.rb', line 381 def @message || @data[:message] end |