Sha256: cc0bcc7d0291fb69a70035c86f7976a10bf294ddf76551856c4be9d7ea206b4d

Contents?: true

Size: 536 Bytes

Versions: 10

Compression:

Stored size: 536 Bytes

Contents

module Aws
  module Sigv4
    module Errors

      class MissingCredentialsError < ArgumentError
        def initialize(msg = nil)
          super(msg || <<-MSG.strip)
missing credentials, provide credentials with one of the following options:
  - :access_key_id and :secret_access_key
  - :credentials
  - :credentials_provider
          MSG
        end
      end

      class MissingRegionError < ArgumentError
        def initialize(*args)
          super("missing required option :region")
        end
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
aws-sigv4-1.2.0 lib/aws-sigv4/errors.rb
aws-sigv4-1.1.4 lib/aws-sigv4/errors.rb
aws-sigv4-1.1.3 lib/aws-sigv4/errors.rb
aws-sigv4-1.1.2 lib/aws-sigv4/errors.rb
aws-sigv4-1.1.1 lib/aws-sigv4/errors.rb
aws-sigv4-1.1.0 lib/aws-sigv4/errors.rb
aws-sigv4-1.0.3 lib/aws-sigv4/errors.rb
aws-sigv4-1.0.2 lib/aws-sigv4/errors.rb
aws-sigv4-1.0.1 lib/aws-sigv4/errors.rb
aws-sigv4-1.0.0 lib/aws-sigv4/errors.rb