Class: Aws::Polly::Errors::InvalidSnsTopicArnException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Polly::Errors::InvalidSnsTopicArnException
- Defined in:
- lib/aws-sdk-polly/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidSnsTopicArnException
constructor
A new instance of InvalidSnsTopicArnException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidSnsTopicArnException
Returns a new instance of InvalidSnsTopicArnException.
153 154 155 |
# File 'lib/aws-sdk-polly/errors.rb', line 153 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
158 159 160 |
# File 'lib/aws-sdk-polly/errors.rb', line 158 def @message || @data[:message] end |