PROPOSAL: Change the printing order of the Error() method
amariampolskiy opened this issue · 4 comments
amariampolskiy commented
Right now it prints in format msg: cause and i think it should be in reverse order. After all, msg is the clarification of the cause error, so it's only logical for it to go last, not first.
davecheney commented
I’m sorry, we can’t change the format now. However undesirable people are parsing it.
… On 7 Mar 2019, at 18:43, amariampolskiy ***@***.***> wrote:
Right now it prints in format msg: cause and i think it should be in reverse order. After all, msg is the clarification of the cause error, so it's only logical for it to go last, not first.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Deleted user commented
Perhaps some sort of config for printing order? With default value being current method. That would make the changes backwards compatible
davecheney commented
I’m sorry but no. With the inclusion of any errors package in Go 1.13 you should send your feature requests to the go team.
… On 7 Mar 2019, at 19:56, amariampolskiy ***@***.***> wrote:
Perhaps some sort of config for printing order? With default value being current method. That would make the changes backwards compatible
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
Deleted user commented
Got it, then i'm closing the issue