lib/aws-sdk-comprehend/errors.rb in aws-sdk-comprehend-1.63.0 vs lib/aws-sdk-comprehend/errors.rb in aws-sdk-comprehend-1.64.0
- old
+ new
@@ -121,9 +121,19 @@
# @return [String]
def message
@message || @data[:message]
end
+
+ # @return [String]
+ def reason
+ @data[:reason]
+ end
+
+ # @return [String]
+ def detail
+ @data[:detail]
+ end
end
class JobNotFoundException < ServiceError
# @param [Seahorse::Client::RequestContext] context