-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os: document form of returned errors #2383
Labels
Milestone
Comments
Owner changed to @rsc. Status changed to Accepted. |
For writing go-fuse I only need the errno error, since that is the only I can pass back. I ended up writing a function that tries to unpack the various errors and extract the error number. It's fragile though, since it depends on what error types the os package creates. I would very much welcome something that converts os errors to either an errno int (preferred) or a syscall.Errno error. |
Owner changed to builder@golang.org. |
This issue was closed by revision be0f6fe. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: