Class: Aws::Translate::Errors::DetectedLanguageLowConfidenceException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Translate::Errors::DetectedLanguageLowConfidenceException
- Defined in:
- lib/aws-sdk-translate/errors.rb
Instance Method Summary collapse
- #detected_language_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DetectedLanguageLowConfidenceException
constructor
A new instance of DetectedLanguageLowConfidenceException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DetectedLanguageLowConfidenceException
Returns a new instance of DetectedLanguageLowConfidenceException.
87 88 89 |
# File 'lib/aws-sdk-translate/errors.rb', line 87 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#detected_language_code ⇒ String
97 98 99 |
# File 'lib/aws-sdk-translate/errors.rb', line 97 def detected_language_code @data[:detected_language_code] end |
#message ⇒ String
92 93 94 |
# File 'lib/aws-sdk-translate/errors.rb', line 92 def @message || @data[:message] end |