nushell/crates/nu-command/src/system
Eric Hodel 8386bc0919
Convert more ShellError variants to named fields (#11173)
# Description

Convert these ShellError variants to named fields:
* CreateNotPossible
* MoveNotPossibleSingle
* DirectoryNotFoundCustom
* DirectoryNotFound
* NotADirectory
* OutOfMemoryError
* PermissionDeniedError
* IOErrorSpanned
* IOError
* IOInterrupted

Also place the `span` field of `DirectoryNotFound` last to match other
errors.

Part of #10700 (almost half done!)

# User-Facing Changes

None

# Tests + Formatting

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`

# After Submitting

N/A
2023-11-28 06:43:51 -06:00
..
complete.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
exec.rs Add exec command for Windows (#11001) 2023-11-08 14:50:25 -06:00
mod.rs Add exec command for Windows (#11001) 2023-11-08 14:50:25 -06:00
nu_check.rs Convert more ShellError variants to named fields (#11173) 2023-11-28 06:43:51 -06:00
ps.rs Bump procfs to 0.16.0 (#11115) 2023-11-20 21:22:35 +01:00
registry_query.rs remove unwraps in registry_query command (#10936) 2023-11-03 08:12:36 -05:00
run_external.rs Improve case insensitivity consistency (#10884) 2023-11-08 23:58:54 +01:00
sys.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
which_.rs Create Record type (#10103) 2023-08-25 07:50:29 +12:00