nushell/crates/nu-engine/src
Devyn Cairns 5c7f7883c8
Add ErrSpan extension trait for Result (#12626)
# Description
This adds an extension trait to `Result` that wraps errors in `Spanned`,
saving the effort of calling `.map_err(|err| err.into_spanned(span))`
every time. This will hopefully make it even more likely that someone
will want to use a spanned `io::Error` and make it easier to remove the
impl for `From<io::Error> for ShellError` because that doesn't have span
information.
2024-04-23 10:39:55 +02:00
..
call_ext.rs Rename IoStream to OutDest (#12433) 2024-04-09 16:48:32 +00:00
closure_eval.rs Refactor using ClosureEval types (#12541) 2024-04-22 14:15:09 +08:00
column.rs Use Record's public API in a bunch of places (#10927) 2023-11-08 14:24:00 +01:00
command_prelude.rs Add ErrSpan extension trait for Result (#12626) 2024-04-23 10:39:55 +02:00
documentation.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
env.rs Refactor using ClosureEval types (#12541) 2024-04-22 14:15:09 +08:00
eval_helpers.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
eval.rs Rename IoStream to OutDest (#12433) 2024-04-09 16:48:32 +00:00
glob_from.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
lib.rs Refactor using ClosureEval types (#12541) 2024-04-22 14:15:09 +08:00
scope.rs Remove the Value::Block case (#12582) 2024-04-21 07:03:33 +02:00