# File lib/mongo/db.rb, line 381 def previous_error error = command(:getpreverror => 1) if error["err"] error else nil end end