Class: Aws::Comprehend::Errors::InvalidRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Comprehend::Errors::InvalidRequestException
- Defined in:
- lib/aws-sdk-comprehend/errors.rb
Instance Method Summary collapse
- #detail ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRequestException
constructor
A new instance of InvalidRequestException.
- #message ⇒ String
- #reason ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRequestException
Returns a new instance of InvalidRequestException.
118 119 120 |
# File 'lib/aws-sdk-comprehend/errors.rb', line 118 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#detail ⇒ String
133 134 135 |
# File 'lib/aws-sdk-comprehend/errors.rb', line 133 def detail @data[:detail] end |
#message ⇒ String
123 124 125 |
# File 'lib/aws-sdk-comprehend/errors.rb', line 123 def @message || @data[:message] end |
#reason ⇒ String
128 129 130 |
# File 'lib/aws-sdk-comprehend/errors.rb', line 128 def reason @data[:reason] end |