lib/aws-sdk-signer/errors.rb in aws-sdk-signer-1.16.0 vs lib/aws-sdk-signer/errors.rb in aws-sdk-signer-1.17.0

- old
+ new

@@ -24,14 +24,46 @@ @message || @data[:message] end end + class BadRequestException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Signer::Types::BadRequestException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + class InternalServiceErrorException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Signer::Types::InternalServiceErrorException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + + class NotFoundException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Signer::Types::NotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String]