|
|
|
|
|
by jfoutz
5014 days ago
|
|
I think you're overlooking asynchronous writes. Exceptions kind of suck in the asynchronous world, because you need to clean up the write error and you have no idea where you are in your code. With a getLastError model, you can do your work, then go check for errors when you're really ready. I'm not saying it's a great api, but it does make sense in context. No idea why the tutorial the op followed didn't talk about the differences, or why asynch is hard. |
|