Use cases for warnf and errorf

https://discourse.gohugo.io/t/making-error-message-clearer/41845/2