Private methods and golint
Proper error codes