lib/mongoid/errors/no_environment.rb
# encoding: utf-8
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
#
# @since 2.4.0
def initialize
super(compose_message("no_environment", {}))
end
end
end
end