lib/aws-sdk-transfer/errors.rb in aws-sdk-transfer-1.15.0 vs lib/aws-sdk-transfer/errors.rb in aws-sdk-transfer-1.16.0

- old
+ new

@@ -8,9 +8,25 @@ module Aws::Transfer module Errors extend Aws::Errors::DynamicErrors + class ConflictException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Transfer::Types::ConflictException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + class InternalServiceError < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Transfer::Types::InternalServiceError] data