pkg/errors
Wrap functions at `pkg/errors` return nil if error argument was nil. fmt.Errorf always returns error so we need to add missing error checks to the code. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
errors