nushell/crates/nu-explore/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 Use Record's public API in a bunch of places (#10927) 2023-11-08 14:24:00 +01:00
nu_common Convert more ShellError variants to named fields (#11173) 2023-11-28 06:43:51 -06:00
pager Use Record's public API in a bunch of places (#10927) 2023-11-08 14:24:00 +01:00
registry explore: remove :config, :show-config, :tweak commands (#10259) 2023-09-07 10:34:08 -05:00
views Apply nightly clippy fixes (#11083) 2023-11-17 09:15:55 -06:00
default_context.rs Move explore command out of nu-command deps (#9421) 2023-06-14 01:18:36 +02:00
explore.rs Add long options for viewers (#10787) 2023-10-20 11:43:42 -05:00
lib.rs explore: remove :config, :show-config, :tweak commands (#10259) 2023-09-07 10:34:08 -05:00