lib/aws-sdk-ecr/errors.rb in aws-sdk-ecr-1.19.0 vs lib/aws-sdk-ecr/errors.rb in aws-sdk-ecr-1.20.0

- old
+ new

@@ -56,9 +56,25 @@ @message || @data[:message] end end + class ImageTagAlreadyExistsException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::ECR::Types::ImageTagAlreadyExistsException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + class InvalidLayerException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::ECR::Types::InvalidLayerException] data