a47834da8a
Since we're wrapping also internal errors, if a function returns a wrapped os pkg error (like os.ErrNotExists) and the caller function uses the os error check functions (like os.IsNotExist) it won't work since (like explained in the os pkg comment) it won't unwrap the error. Fix this by using errors.Is checks. |
||
---|---|---|
.. | ||
save.go |