Closed davidae closed 3 years ago
Sorry for the late response. I'll be reworking the whole Error system on the Go client for the next major release, so I'll leave this out of v4.x releases until I've had time to give it a bit of thought.
This was done in v5. Thank you for your idea and feedback.
Add a
String
function toResultCode
to have an understandable/readable and constant string for all result codes. This will f.ex. make monitoring easier, usingResultCode.String()
as a label value on a counter without the need to lookup the code (integer) definitions.