A Mongoid::Shell::Errors::SessionNotConnectedError error will be raised when a session is not connected, with specs for replica set and URL format mongoid configuration.
Added Mongoid::Shell::Commands::Mongo.