The %w verb was introduced in go1.20 which allows for error
wrapping. However, even though the minimum supported version was
specified as go1.19 there are already sparse occurences of the %w
verb throughout the codebase. Hence it's safe to move the minimum
supported version to go1.20 since its constructs have been in use
within the repository for a while now.
The
%w
verb was introduced ingo1.20
which allows for error wrapping. However, even though the minimum supported version was specified asgo1.19
there are already sparse occurences of the%w
verb throughout the codebase. Hence it's safe to move the minimum supported version togo1.20
since its constructs have been in use within the repository for a while now.Refer: https://go.dev/doc/go1.20#errors Fixes: #519 Signed-off-by: Pranshu Srivastava rexagod@gmail.com