pkg/errors

PROPOSAL: Change the printing order of the Error() method

amariampolskiy opened this issue · 4 comments

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.

Perhaps some sort of config for printing order? With default value being current method. That would make the changes backwards compatible

Got it, then i'm closing the issue