Skip to content
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

Clarify Error::last_os_error can be weird #106964

Merged

Commits on Jan 17, 2023

  1. Explain the "no-error" io::Error case

    Fundamentally, querying the OS for error codes is a process
    that is deeply subject to the whims of chance and fortune.
    We can account for OS, but not for every combination of platform APIs.
    A compiled binary may not recognize new errors introduced years later.
    We should clarify a few especially odd situations, and what they mean:
    We can effectively promise nothing.
    
    This allows removing mention of ErrorKind::Uncategorized.
    That error variant is hidden quite deliberately, so we
    should not explicitly mention it.
    workingjubilee committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    2d927cc View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. Configuration menu
    Copy the full SHA
    0f32fd8 View commit details
    Browse the repository at this point in the history