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 2020-11-09 Meeting Agenda ###### tags: `Error Handling` `Minutes` - [2020-10-26 Meeting Minutes](https://hackmd.io/@rust-libs/rJ6aitNOw) ## Action Items - Implement trait based proof of concept for `Backtrace` in `core` (Jane Lusby) - Update `object-provider` API in generic member access RFC (Jane Lusby) - Move forward with adding an Error impl for `&impl Error` (Ashley Mannix) - Create an FCP on the existing PR - Add guidance for using &dyn Error + 'static and impl Error + Send + Sync + 'static for borrow and owned errors respectively - Review the "Fix the error trait" tracking issue to figure out next steps (Oliver + Ashley Mannix) - Review the panic plan rfc (Jane Lusby) - reach out to the author of the error codes issue (Jane Lusby) - Discuss universally consistent error reporting (Jane Lusby, Jakub Duchniewicz, and Jeremiah Senkpiel) - Post long term plan blog post (Sean Chean & Jane Lusby) - Begin writing chapters for The Rust Error Book (unassigned) - Resolve blockers in the backtrace stabilizition PR (Ashley Mannix) ## Agenda Items - Review action items from last meeting - Review tracked issues in our [Project Board](https://github.com/rust-lang/project-error-handling/projects/1) - [RFC#2580 related to 'Stabilizing `Error::type_id`'](https://hackmd.io/1Fq9TcAQRWa4_weWTe9adA) - Anything to bubble up to the Libs meeting? - Review `The Rust Error Book` looking to add initial content - 2021 Rust Edition - postponed? - Discuss meeting time # Meeting Minutes Called to order at 13:00 PST ## Attendees - Jane Lusby - Sean Chen - Oliver - Ashley Mannix - Mara - Jakub Duchniewicz - DPC ## Progress on Backtrace in Core [Jane Lusby] - No progress on this since last time ## Update Generic Member Access API [Jane Lusby] - Reviewed changes made by Nika - We should be using rustc errors as an example in the RFC - Universal reporting is still messy and depends on features that don't exist yet - RFC for this is basically complete with some pending updates including examples related to compiler error reporting ## Adding an Error impl for `&impl Error` [Ashley Mannix] - In final comment period. Will go in 1.49.0 when it's ready to go. - starting patching for related libraries ## Review the “Fix the error trait” tracking issue [Oliver + Ashley Mannix] - No progress on this ## Review the panic plan rfc [Jane Lusby] - Now waiting for the FCP checkboxes; four more to go ## Reach out to the author of the error codes issue [Jane Lusby] - Didn't get to this ## Post long term plan blog post [Sean Chean & Jane Lusby] - Haven't put in suggested changes yet. ## Begin writing chapters for The Rust Error Book [unassigned] - Put out a call for a collection of references - Are we targeting 2021 edition? - Not particularly; shouldn't have any major breaking changes - Besides unifying `panic`, shouldn't have anything that interacts with editions - Universal error reporting _might_ become something that involves requiring a breaking change, but too nebulous to know at the moment ## Resolve blockers in the backtrace stabilizition PR [Ashley Mannix] - Different implementions for panics and errors since the panic backtrace resolver can resolve frames in the presence of memory errors. - Code between the two implementations can be shared, though this probably doesn't have implications on the API. - Unlisted concern in FCP - Blocked on Amanieu having time to look through the recent discussion to mark concern as resolved ## Discuss universally consistent error reporting [Jane Lusby, Jakub Duchniewicz, and Jeremiah Senkpiel] - Trying to find a way to introduce a "Reporter" that handles displaying `E: Error` objects and additionally captures context relevant to those errors. - Maybe extend this type to also handle `PanicInfo` objects - Should naturally fit the design of the Error trait - `PanicInfo` already has this handled by the hook from `set_hook` - Unification will be a challenge ## Backtrace Frames Method [Sean Chen] - Started on this, though need to continue working through details from @KodrAus - Suggestion to use a wrapper to return a borrow to data behind a `Mutex` - @KodrAus -- for safety should materialize a `Vec` behind a wrapper - additional suggestions forthcoming ## Nicer Assert Messages [Charles Ellis O'Riley Jr.] - Charles not in attendance today; punt this to next meeting ## `PanicInfo::message` RFC [DPC] - `de-vri-es` doing some work related to this - Trying to add some kind of `AssertionInfo` to a `PanicInfo` that the test crate can use to displays things more nicely without requiring support for colors in std ## `Error::type_id` [unassigned] - Should enable a way to have function specialization such that `type_id` would be specialized for every type - Priority: low ## Changing the Meeting Time going forward - SIMD meeting starts right after this one - Ideally, shift meeting back an hour for Daylight Savings and call it a day - If not, might have to do another poll for meeting times - Brought up in last week's SIMD meeting; didn't seem like anybody have issues with shifting it # Todo ## Blog post coming soon - goals to be run by project group before starting something on internals ## Update Object Provider API [Jane Lusby] - Add Nika's changes to RFC @2aetCAHHS5yPrDQIgqGo2Q ## Adding an Error impl for `&impl Error` [Ashley Mannix] - We can start patching libraries that it will break to get it ready for 1.49.0 @KodrAus ## Discuss universally consistent error reporting [Jane Lusby, Jakub Duchniewicz, and Jeremiah Senkpiel] - Draft a blog post laying this out @2aetCAHHS5yPrDQIgqGo2Q ## Review "The Rust Error Book" to add additional content - Create an issue and gather existing resources to use as references for the book @2aetCAHHS5yPrDQIgqGo2Q ## Resolve blockers in the backtrace stabilizition PR [Ashley Mannix] - Reach out to Amanieu to get their concerns resolved @KodrAus

    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