-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When `Mongo` returns a `Mongo.Error`, we get match errors inside `Enum`, which are hard to read and sometimes misleading. This patch changes signatures to let the errors flow. This is argably a breaking change, but errors will happen anyway in problematic scenario. As alternative, `Mongo.Error` could be `raise`d and signtures are kept the same. At least errors will be more clear to library users.
- Loading branch information
Showing
1 changed file
with
25 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters