Class: Aws::Comprehend::Errors::UnsupportedLanguageException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Comprehend::Errors::UnsupportedLanguageException
- Defined in:
- lib/aws-sdk-comprehend/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedLanguageException
constructor
A new instance of UnsupportedLanguageException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedLanguageException
Returns a new instance of UnsupportedLanguageException.
293 294 295 |
# File 'lib/aws-sdk-comprehend/errors.rb', line 293 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
298 299 300 |
# File 'lib/aws-sdk-comprehend/errors.rb', line 298 def @message || @data[:message] end |