Sha256: 8dccee3fc63fbf5586e97bba27e024e7595605df116f2fc0c9a0033d7899315c

Contents?: true

Size: 567 Bytes

Versions: 19

Compression:

Stored size: 567 Bytes

Contents

# frozen_string_literal: true

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

19 entries across 19 versions & 1 rubygems

Version Path
aws-sigv4-1.10.1 lib/aws-sigv4/errors.rb
aws-sigv4-1.10.0 lib/aws-sigv4/errors.rb
aws-sigv4-1.9.1 lib/aws-sigv4/errors.rb
aws-sigv4-1.9.0 lib/aws-sigv4/errors.rb
aws-sigv4-1.8.0 lib/aws-sigv4/errors.rb
aws-sigv4-1.7.0 lib/aws-sigv4/errors.rb
aws-sigv4-1.6.1 lib/aws-sigv4/errors.rb
aws-sigv4-1.6.0 lib/aws-sigv4/errors.rb
aws-sigv4-1.5.2 lib/aws-sigv4/errors.rb
aws-sigv4-1.5.1 lib/aws-sigv4/errors.rb
aws-sigv4-1.5.0 lib/aws-sigv4/errors.rb
aws-sigv4-1.4.1.crt lib/aws-sigv4/errors.rb
aws-sigv4-1.4.0 lib/aws-sigv4/errors.rb
aws-sigv4-1.4.0.crt lib/aws-sigv4/errors.rb
aws-sigv4-1.3.0 lib/aws-sigv4/errors.rb
aws-sigv4-1.2.4 lib/aws-sigv4/errors.rb
aws-sigv4-1.2.3 lib/aws-sigv4/errors.rb
aws-sigv4-1.2.2 lib/aws-sigv4/errors.rb
aws-sigv4-1.2.1 lib/aws-sigv4/errors.rb