Details
-
Task
-
Resolution: Works as Designed
-
Major - P3
-
None
-
None
-
None
-
None
Description
Hello. I am looking at `insert`, `update_x` and `delete_x` documentation and it is unclear to me whether:
1- Operation failure throws exception or
2- Operation failure returns a nullopt or
3- In some modes of failure it throws an exception while in other modes it returns a nullopt
Are some errors handled by exception while others are handled by returning a nullopt result? If so then I propose this be clarified in the documentation and to consider having a single mode of error reporting to make error handling easier.
If not please let me know what is the correct way to handle all possible error cases.