watermill
watermill copied to clipboard
Use errors.Is for error comparison instead of direct equality checks
trafficstars
This PR refactors error handling by replacing direct comparisons of errors (e.g., err == someError) with the use of errors.Is.