nushell/crates/nu-plugin/src
Devyn Cairns 626d597527
Replace panics with errors in thread spawning (#12040)
# Description
Replace panics with errors in thread spawning.

Also adds `IntoSpanned` trait for easily constructing `Spanned`, and an
implementation of `From<Spanned<std::io::Error>>` for `ShellError`,
which is used to provide context for the error wherever there was a span
conveniently available. In general this should make it more convenient
to do the right thing with `std::io::Error` and always add a span to it
when it's possible to do so.

# User-Facing Changes
Fewer panics!

# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`
2024-03-02 11:14:02 -06:00
..
plugin Replace panics with errors in thread spawning (#12040) 2024-03-02 11:14:02 -06:00
protocol Add Goodbye message to ensure plugins exit when they are no longer needed (#12014) 2024-02-28 20:41:22 -06:00
serializers Bidirectional communication and streams for plugins (#11911) 2024-02-25 16:32:50 -06:00
lib.rs Bidirectional communication and streams for plugins (#11911) 2024-02-25 16:32:50 -06:00
sequence.rs Bidirectional communication and streams for plugins (#11911) 2024-02-25 16:32:50 -06:00