Sha256: c34f24ae0761724b13785aa82e3c179b5eb54fc5d52789a5082e65ac0066f7f8

Contents?: true

Size: 1.52 KB

Versions: 6

Compression:

Stored size: 1.52 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::XRay
  module Errors

    extend Aws::Errors::DynamicErrors

    class InvalidRequestException < ServiceError

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

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

    end

    class RuleLimitExceededException < ServiceError

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

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

    end

    class ThrottledException < ServiceError

      # @param [Seahorse::Client::RequestContext] context
      # @param [String] message
      # @param [Aws::XRay::Types::ThrottledException] 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

6 entries across 6 versions & 1 rubygems

Version Path
aws-sdk-xray-1.22.0 lib/aws-sdk-xray/errors.rb
aws-sdk-xray-1.21.0 lib/aws-sdk-xray/errors.rb
aws-sdk-xray-1.20.0 lib/aws-sdk-xray/errors.rb
aws-sdk-xray-1.19.0 lib/aws-sdk-xray/errors.rb
aws-sdk-xray-1.18.0 lib/aws-sdk-xray/errors.rb
aws-sdk-xray-1.17.0 lib/aws-sdk-xray/errors.rb