*: use multierror wrapping where possible

Revert 5f6c01336c, remove all multierror
related nolint comments and use multierror wrapping instead.

Close #2906.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2024-03-04 17:59:04 +03:00
parent 13ff95a3d3
commit 0c6627f13d
9 changed files with 32 additions and 32 deletions

View file

@ -449,7 +449,7 @@ type (
)
func mkErrValue(err error) error {
return fmt.Errorf("%w: %v", ErrInvalidValue, err) //nolint:errorlint // errorlint: non-wrapping format verb for fmt.Errorf. Use `%w` to format errors
return fmt.Errorf("%w: %w", ErrInvalidValue, err)
}
// FromJSONWithTypes deserializes an item from typed-json representation.