Class: Aws::Polly::Errors::SynthesisTaskNotFoundException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-polly/lib/aws-sdk-polly/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ SynthesisTaskNotFoundException

Returns a new instance of SynthesisTaskNotFoundException.

Parameters:



318
319
320
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/errors.rb', line 318

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


323
324
325
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/errors.rb', line 323

def message
  @message || @data[:message]
end