xerr/Errorv: Don't forget to handle empty-vector case in Error()
Previously Error() was giving "0 errors", but "" seems to be a better choice. Anyway proper usage of Errorv is to call .Err() when handing result to some where so this way empty-vector case becomes nil.
Showing
Please register or sign in to comment