Sha256: a178f347aa196422243ba196ae96dfdd1c77d2fc0f15c9422a1a795a204e2a5a

Contents?: true

Size: 408 Bytes

Versions: 25

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

module Mongoid
  module Errors

    # Raised when trying to load configuration with no RACK_ENV set
    class NoEnvironment < MongoidError

      # Create the new no environment error.
      #
      # @example Create the new no environment error.
      #   NoEnvironment.new
      def initialize
        super(compose_message("no_environment", {}))
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
mongoid-8.1.8 lib/mongoid/errors/no_environment.rb
mongoid-8.1.7 lib/mongoid/errors/no_environment.rb
mongoid-8.1.6 lib/mongoid/errors/no_environment.rb
mongoid-8.0.8 lib/mongoid/errors/no_environment.rb
mongoid-8.1.5 lib/mongoid/errors/no_environment.rb
mongoid-8.1.4 lib/mongoid/errors/no_environment.rb
mongoid-8.0.7 lib/mongoid/errors/no_environment.rb
mongoid-8.1.3 lib/mongoid/errors/no_environment.rb
mongoid-8.1.2 lib/mongoid/errors/no_environment.rb
mongoid-8.0.6 lib/mongoid/errors/no_environment.rb
mongoid-7.5.4 lib/mongoid/errors/no_environment.rb
mongoid-8.1.1 lib/mongoid/errors/no_environment.rb
mongoid-8.0.5 lib/mongoid/errors/no_environment.rb
mongoid-8.1.0 lib/mongoid/errors/no_environment.rb
mongoid-7.5.3 lib/mongoid/errors/no_environment.rb
mongoid-8.0.4 lib/mongoid/errors/no_environment.rb
mongoid-8.0.3 lib/mongoid/errors/no_environment.rb
mongoid-7.5.2 lib/mongoid/errors/no_environment.rb
mongoid-8.0.2 lib/mongoid/errors/no_environment.rb
mongoid-7.5.1 lib/mongoid/errors/no_environment.rb