Sha256: c7ae81ff821ed0c181cf3f9be9b926048b1494df3932e423d5a1763a147f1539

Contents?: true

Size: 1.08 KB

Versions: 18

Compression:

Stored size: 1.08 KB

Contents

# WARNING ABOUT GENERATED CODE
#
# This file is generated. See the contributing guide for more information:
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
#
# WARNING ABOUT GENERATED CODE

module Aws::ECS
  module Errors

    extend Aws::Errors::DynamicErrors

    class ClientException < ServiceError

      # @param [Seahorse::Client::RequestContext] context
      # @param [String] message
      # @param [Aws::ECS::Types::ClientException] data
      def initialize(context, message, data = Aws::EmptyStructure.new)
        super(context, message, data)
      end

      # @return [String]
      def message
        @message || @data[:message]
      end

    end

    class ServerException < ServiceError

      # @param [Seahorse::Client::RequestContext] context
      # @param [String] message
      # @param [Aws::ECS::Types::ServerException] data
      def initialize(context, message, data = Aws::EmptyStructure.new)
        super(context, message, data)
      end

      # @return [String]
      def message
        @message || @data[:message]
      end

    end

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
aws-sdk-ecs-1.57.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.56.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.55.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.54.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.53.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.52.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.51.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.50.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.49.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.48.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.47.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.46.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.45.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.44.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.43.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.42.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.41.0 lib/aws-sdk-ecs/errors.rb
aws-sdk-ecs-1.40.0 lib/aws-sdk-ecs/errors.rb