clone from https://github.com/kisielk/errcheck