-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.4.4
-
Component/s: Error Handling
-
None
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.