Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make ErrHashStrSize slightly more descriptive.
Add the word 'string' to the error string so if this is printed, it will be clearer that it was a hash string decode that failed (as opposed to other errors creating a ShaHash from a byte slice) and change 'chars' to 'bytes', since the string length is measured in bytes, not UTF-8 code points. ok @davecgh
- Loading branch information