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

Document "standard" conventions for error messages #83780

Merged
merged 1 commit into from
Apr 4, 2021

Commits on Apr 2, 2021

  1. Document "standard" conventions for error messages

    These are currently documented in the API guidelines:
    
    https://rust-lang.github.io/api-guidelines/interoperability.html#error-types-are-meaningful-and-well-behaved-c-good-err
    
    I think it makes sense to uplift this guideline (in a milder form) into
    std docs. Printing and producing errors is something that even
    non-expert users do frequently, so it is useful to give at least some
    indication of what a typical error message looks like.
    matklad committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    5547d92 View commit details
    Browse the repository at this point in the history