Class: Aws::Translate::Errors::UnsupportedLanguagePairException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Translate::Errors::UnsupportedLanguagePairException
- Defined in:
- lib/aws-sdk-translate/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedLanguagePairException
constructor
A new instance of UnsupportedLanguagePairException.
- #message ⇒ String
- #source_language_code ⇒ String
- #target_language_code ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedLanguagePairException
Returns a new instance of UnsupportedLanguagePairException.
282 283 284 |
# File 'lib/aws-sdk-translate/errors.rb', line 282 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
287 288 289 |
# File 'lib/aws-sdk-translate/errors.rb', line 287 def @message || @data[:message] end |
#source_language_code ⇒ String
292 293 294 |
# File 'lib/aws-sdk-translate/errors.rb', line 292 def source_language_code @data[:source_language_code] end |
#target_language_code ⇒ String
297 298 299 |
# File 'lib/aws-sdk-translate/errors.rb', line 297 def target_language_code @data[:target_language_code] end |