Details
-
New Feature
-
Resolution: Unresolved
-
Major - P3
-
None
-
1.4.4
-
None
Description
Currently the `.Error()` methods simply return the content of the `Message` fields. It's not possible to see what is the error code from the error message returned by `.Error()`.
Yes I know I can inspect the `WriteError` object, but I think it would be more user friendly to expose the code in the human readable error message returned by `Error()`.
I think the other drivers (Nodejs or PHP) are already printing the error code.