lib/em-mongo/exceptions.rb in em-mongo-0.3.6 vs lib/em-mongo/exceptions.rb in em-mongo-0.4.0

- old
+ new

@@ -1,6 +1,6 @@ - +require "timeout" # encoding: UTF-8 # # -- # Copyright (C) 2008-2011 10gen Inc. @@ -16,10 +16,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ++ -module Mongo +module EM::Mongo # Generic Mongo Ruby Driver exception class. class MongoRubyError < StandardError; end # Raised when MongoDB itself has returned an error. class MongoDBError < RuntimeError; end