Sha256: 741da245af7cb075f9592be81904f3a7729e6140f98c8b72f83c995435d0a991

Contents?: true

Size: 1.31 KB

Versions: 9

Compression:

Stored size: 1.31 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::Greengrass
  module Errors

    extend Aws::Errors::DynamicErrors

    class BadRequestException < ServiceError

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

      # @return [String]
      def error_details
        @data[:error_details]
      end

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

    end

    class InternalServerErrorException < ServiceError

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

      # @return [String]
      def error_details
        @data[:error_details]
      end

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

    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
aws-sdk-greengrass-1.28.0 lib/aws-sdk-greengrass/errors.rb
aws-sdk-greengrass-1.27.0 lib/aws-sdk-greengrass/errors.rb
aws-sdk-greengrass-1.26.0 lib/aws-sdk-greengrass/errors.rb
aws-sdk-greengrass-1.25.0 lib/aws-sdk-greengrass/errors.rb
aws-sdk-greengrass-1.24.0 lib/aws-sdk-greengrass/errors.rb
aws-sdk-greengrass-1.23.0 lib/aws-sdk-greengrass/errors.rb
aws-sdk-greengrass-1.22.0 lib/aws-sdk-greengrass/errors.rb
aws-sdk-greengrass-1.21.0 lib/aws-sdk-greengrass/errors.rb
aws-sdk-greengrass-1.20.0 lib/aws-sdk-greengrass/errors.rb