aboekhoff/congomongo — Issue #43: insert! show .throwOnError
Author: seancorfield
Created: 2011-12-10 21:32:56+00:00
State: open

Where we don't return the result of calling into the Java driver, we should invoke .throwOnError on the CommandResult object.

Example: unique index and attempt to insert duplicate key. We should have a test for that (first, then fix the bug :)