HackMD
  • API
    API  HackMD API beta testing
    HackMD API is now in beta, join us for a test drive.
    Getting started Got it
    • API  HackMD API beta testing
      API  HackMD API beta testing
      HackMD API is now in beta, join us for a test drive.
      Getting started Got it
      • Options
      • Versions and GitHub Sync
      • Transfer ownership
      • Delete this note
      • Template
      • Insert from template
      • Export
      • Dropbox
      • Google Drive
      • Gist
      • Import
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
      • Download
      • Markdown
      • HTML
      • Raw HTML
      • ODF (Beta)
      • Sharing Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • More (Comment, Invitee)
      • Publishing
        Everyone on the web can find and read all notes of this public team.
        After the note is published, everyone on the web can find and read this note.
        See all published notes on profile page.
      • Commenting Enable
        Disabled Forbidden Owners Signed-in users Everyone
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Invitee
      • No invitee
    Menu Sharing Help
    Menu
    Options
    Versions and GitHub Sync Transfer ownership Delete this note
    Export
    Dropbox Google Drive Gist
    Import
    Dropbox Google Drive Gist Clipboard
    Download
    Markdown HTML Raw HTML ODF (Beta)
    Back
    Sharing
    Sharing Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Note Permission
    Read
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    Write
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    More (Comment, Invitee)
    Publishing
    Everyone on the web can find and read all notes of this public team.
    After the note is published, everyone on the web can find and read this note.
    See all published notes on profile page.
    More (Comment, Invitee)
    Commenting Enable
    Disabled Forbidden Owners Signed-in users Everyone
    Permission
    Owners
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Invitee
    No invitee
       owned this note    owned this note      
    Published Linked with GitHub
    Like BookmarkBookmarked
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # PEH 2021-08-02 Meeting Agenda ###### tags: `Error Handling` `Minutes` - Previous Meeting: https://hackmd.io/Cz9thGmpS3G1uaGGcNMzvQ - Action Items: https://hackmd.io/@rust-libs/Hyj7kRSld - Book Planning Doc: https://cryptpad.fr/code/#/2/code/edit/1FhyaBOOANgdSTKA8xbYIt8t/ # Attendees - Jane Lusby - Sean Chen - Charles Ellis O'Riley Jr. ## Agenda Items - Review action items from last meeting - Issue Triage ### Nominated None ### PG Error Handling - [5 `rust-lang/rust` `PG-error-handling` items](https://github.com/rust-lang/rust/issues?q=is:open+label:PG-error-handling) - [[53487](https://github.com/rust-lang/rust/issues/53487)] *Tracking issue for RFC 2504, "Fix the Error trait"* - Blocked on the backtrace stabilization questions, which is currently in progress with the work Jakub is doing on the backtrace-in-core RFC. - [[58520](https://github.com/rust-lang/rust/issues/58520)] *Tracking issue for error source iterators* - Stalled due to no one pushing it. - Added to the list of unassigned action items in case anyone would like to pick it up. - [[65280](https://github.com/rust-lang/rust/issues/65280)] *Formatting of std::backtrace::Backtrace* - Main suggested changes have been implemented. - Some additional suggestions using the precision flag were not implemented, but this issue should be closed, and leftover changes can be suggested in a follow-up issue. - [[72981](https://github.com/rust-lang/rust/pull/72981)] *Stabilize the backtrace feature.* - Associated with the "Fix the Error Trait" issue. - [[77474](https://github.com/rust-lang/rust/issues/77474)] *Add #\[track\_caller\] support to \`?\`* - Looking for an implementor. - May run into performance issues and may be difficult to implement. ### Area Error Handling - [14 `rust-lang/rust` `A-error-handling` items](https://github.com/rust-lang/rust/issues?q=is:open+label:A-error-handling) - [[32837](https://github.com/rust-lang/rust/issues/32837)] `P-low` *Pluggable panic implementations (tracking issue for RFC 1513)* - Not something we need to prioritize at the moment. - [[42047](https://github.com/rust-lang/rust/issues/42047)] *Result\-based error handling optimizes very poorly for large payloads* - Out of scope for the project group at the moment. - [[44838](https://github.com/rust-lang/rust/issues/44838)] *Tracking issue for RFC 2011: nicer assert messages* - Being worked on by Maarten de Vries. - [[54889](https://github.com/rust-lang/rust/issues/54889)] *Implement Try for ExitStatus* - [[60784](https://github.com/rust-lang/rust/issues/60784)] *Tracking issue for stabilizing \`Error::type\_id\`* - Currently low priority. - [[66745](https://github.com/rust-lang/rust/issues/66745)] *Tracking issue for PanicInfo::message* - Needs someone to figure out where it left off and what the next steps are. - [[79085](https://github.com/rust-lang/rust/pull/79085)] *Add Backtrace::set\_enabled to override environment variables* - Blocked on the backtrace-in-core work. - [[79676](https://github.com/rust-lang/rust/issues/79676)] *Tracking Issue for \`backtrace\_frames\`* - Merged. - [[80190](https://github.com/rust-lang/rust/issues/80190)] *API: Add \`err\_or\` and \`err\_or\_else\` to \`Option\`* - Probably too niche, but worth bringing up in the next libs-api meeting. - [[84908](https://github.com/rust-lang/rust/issues/84908)] *Tracking Issue for ExitStatusError* - Nothing to be done for this one right now. - [[86826](https://github.com/rust-lang/rust/pull/86826)] *\[draft\] Store the path in io::Error without extra allocations.* - See if we can get this one merged. ### PG Error Handling None ## Actions - [ ] Reply to all issues/PRs discussed in this meeting, or add them to the [open action items](https://hackmd.io/UrERZvi5RwyxfGvo-RtC6g). _Generated by [fully-automatic-rust-libs-team-triage-meeting-agenda-generator](https://github.com/rust-lang/libs-team/tree/main/tools/agenda-generator)_ # Meeting Minutes ## Action Items ### Sean - Working on documenting and testing the `trial-and-error` [crate][trial-and-error]. ### Charles - Working on implementing dot rendering for PRs so that we can iterate on the book diagram. - Creating a diagram mapping out how error handling components (e.g., Result, panic, Try, Error, etc) relate to each other for the book. ### Jane - Review the changes to `trial-and-error`. - Review backtrace-in-core RFC. - Still working on the negative trait coherence change. - Meeting with Nick Cameron to go over the dyno RFC and splitting it out from the generic member access RFC so that Nick can take over driving it forward. [trial-and-error]: https://github.com/yaahc/trial-and-error

    Import from clipboard

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lost their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template is not available.


    Upgrade

    All
    • All
    • Team
    No template found.

    Create custom template


    Upgrade

    Delete template

    Do you really want to delete this template?

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in via Google

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Tutorials

    Book Mode Tutorial

    Slide Mode Tutorial

    YAML Metadata

    Contacts

    Facebook

    Twitter

    Feedback

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions

    Versions and GitHub Sync

    Sign in to link this note to GitHub Learn more
    This note is not linked with GitHub Learn more
     
    Add badge Pull Push GitHub Link Settings
    Upgrade now

    Version named by    

    More Less
    • Edit
    • Delete

    Note content is identical to the latest version.
    Compare with
      Choose a version
      No search result
      Version not found

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub

        Please sign in to GitHub and install the HackMD app on your GitHub repo. Learn more

         Sign in to GitHub

        HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Available push count

        Upgrade

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Upgrade

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully