nushell/crates/nu-command/src/misc
Piepmatz bda3245725
More precise ErrorKind::NotFound errors (#15149)
In this PR, the two new variants for `ErrorKind`, `FileNotFound`
and `DirectoryNotFound` with a nice `not_found_as` method for the
`ErrorKind` to easily specify the `NotFound` errors. I also updated some
places where I could of think of with these new variants and the message
for `NotFound` is no longer "Entity not found" but "Not found" to be
less strange.

closes #15142
closes #15055
2025-02-22 11:42:44 -05:00
..
mod.rs wrapping run_repl with catch_unwind and restarting the repl on panic (#11860) 2024-02-22 12:14:10 -06:00
panic.rs Changed category for panic and added search terms and examples (#13707) 2024-08-27 16:58:05 -07:00
source.rs More precise ErrorKind::NotFound errors (#15149) 2025-02-22 11:42:44 -05:00
tutor.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00