class Mongoid::Errors::NoEnvironment
Raised when trying to load configuration with no RACK_ENV set
Public Class Methods
Source
# File lib/mongoid/errors/no_environment.rb, line 16 def initialize super(compose_message("no_environment", {})) end
Create the new no environment error.
@example Create the new no environment error.
NoEnvironment.new
@since 2.4.0
Calls superclass method