Class: Aws::Translate::Errors::UnsupportedDisplayLanguageCodeException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Translate::Errors::UnsupportedDisplayLanguageCodeException
- Defined in:
- lib/aws-sdk-translate/errors.rb
Instance Method Summary collapse
- #display_language_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedDisplayLanguageCodeException
constructor
A new instance of UnsupportedDisplayLanguageCodeException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedDisplayLanguageCodeException
Returns a new instance of UnsupportedDisplayLanguageCodeException.
262 263 264 |
# File 'lib/aws-sdk-translate/errors.rb', line 262 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#display_language_code ⇒ String
272 273 274 |
# File 'lib/aws-sdk-translate/errors.rb', line 272 def display_language_code @data[:display_language_code] end |
#message ⇒ String
267 268 269 |
# File 'lib/aws-sdk-translate/errors.rb', line 267 def @message || @data[:message] end |