lib/aws-sdk-glue/errors.rb in aws-sdk-glue-1.68.0 vs lib/aws-sdk-glue/errors.rb in aws-sdk-glue-1.69.0

- old
+ new

@@ -30,10 +30,11 @@ # * {AccessDeniedException} # * {AlreadyExistsException} # * {ConcurrentModificationException} # * {ConcurrentRunsExceededException} # * {ConditionCheckFailureException} + # * {ConflictException} # * {CrawlerNotRunningException} # * {CrawlerRunningException} # * {CrawlerStoppingException} # * {EntityNotFoundException} # * {GlueEncryptionException} @@ -120,9 +121,24 @@ class ConditionCheckFailureException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Glue::Types::ConditionCheckFailureException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class ConflictException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Glue::Types::ConflictException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String]