|
|
|
|
|
by noisem4ker
1639 days ago
|
|
A PathError can be identified using errors.Is as one of e.g. ErrNotExist or ErrPermission. https://go.dev/src/os/error.go You're absolutely not supposed to match the error string as it varies with the underlying operating system and locale. |
|