rust-lang / project-error-handling

Error handling project group
Apache License 2.0
268 stars 18 forks source link

Changes needed to get `panic_error` method added to std/core #29

Open seanchen1991 opened 3 years ago

seanchen1991 commented 3 years ago

Questions to resolve:

  1. Does the Error trait need to be moved into core for this to work?
  2. How does ownership of the Err type interact with unwinding?
  3. Can we get away with not Boxing the &dyn Error + 'static in PanicInfo? Can the error be caught and handled as a payload? Do we wish to avoid this?