by vl · 1y ago · 0 comments
It’s a terrible error. It’s not structured, so you can’t aggregate it effectively in logs, on top of that it leaks potential secret, so you can’t return it from RPC handler.
type error interface {
Error() string
}
It's the same unstructured goslop.