Merge pull request #3617 from libgit2/cmn/extract-sig-errors commit: expose the different kinds of errors