Add more detailed error tests
Add more detailed error tests

In particular, add specific errcode.ErrorCoder values, which is
what callers are actually looking for.

Also allow for special cases.

Signed-off-by: Miloslav Trmač <9c008e38982a5397deb855345fb164f0558459ae@redhat.com>

containers/image,containers/image