Sha256: afdba9f7799066ec3ebbb6f693ee764fdb2133dc6ed086172152a10eb9b2b82a

Contents?: true

Size: 430 Bytes

Versions: 5

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

module Mongo
  class Error

    # This error is raised when a bad configuration option is attempted to be
    # set.
    class InvalidConfigOption < Error

      # Create the new error.
      #
      # @param [ Symbol, String ] name The attempted config option name.
      #
      # @api private
      def initialize(name)
        super("Invalid config option #{name}.")
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mongo-2.18.3 lib/mongo/error/invalid_config_option.rb
mongo-2.18.2 lib/mongo/error/invalid_config_option.rb
mongo-2.18.1 lib/mongo/error/invalid_config_option.rb
mongo-2.18.0 lib/mongo/error/invalid_config_option.rb
mongo-2.18.0.beta1 lib/mongo/error/invalid_config_option.rb