nushell/crates/nu-cli/src
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
..
commands Convert FileNotFound to named fields (#11120) 2023-11-21 17:08:10 +08:00
completions Support o>>, e>>, o+e>> to append output to an external file (#10764) 2023-11-27 07:52:39 -06:00
menus Improve case insensitivity consistency (#10884) 2023-11-08 23:58:54 +01:00
config_files.rs Fix config creation during printing (#9353) 2023-06-04 22:04:28 +03:00
eval_cmds.rs Refactor and fix Config<->Value mechanism (#10896) 2023-11-08 20:31:30 +01:00
eval_file.rs Convert FileNotFoundCustom to named fields (#11123) 2023-11-21 17:30:21 -06:00
lib.rs cratification: move the bytes command to nu-cmd-extra (#9509) 2023-06-23 12:23:08 -07:00
nu_highlight.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
print.rs allow print to take data as input again (#9823) 2023-07-27 21:40:25 +02:00
prompt_update.rs Use Vec for Closure captures (#10940) 2023-11-08 00:43:28 +01:00
prompt.rs Fix default prompt indicators (#9914) 2023-08-05 04:47:46 +12:00
reedline_config.rs Improve case insensitivity consistency (#10884) 2023-11-08 23:58:54 +01:00
repl.rs Convert more ShellError variants to named fields (#11173) 2023-11-28 06:43:51 -06:00
syntax_highlight.rs Support o>>, e>>, o+e>> to append output to an external file (#10764) 2023-11-27 07:52:39 -06:00
util.rs Apply nightly clippy fixes (#11083) 2023-11-17 09:15:55 -06:00
validation.rs Remove old alias implementation (#8797) 2023-04-07 21:09:38 +03:00