nushell/crates/nu-command/src/path
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
..
basename.rs Add long options for path (#10775) 2023-10-19 22:07:01 +02:00
dirname.rs Add long options for path (#10775) 2023-10-19 22:07:01 +02:00
exists.rs Convert more ShellError variants to named fields (#11173) 2023-11-28 06:43:51 -06:00
expand.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
join.rs Move more commands to opaque Record type (#11122) 2023-11-22 23:48:48 +01:00
mod.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
parse.rs Convert more examples and tests to record! macro (#10840) 2023-10-28 14:52:31 +02:00
path_.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
relative_to.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
split.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
type.rs Allow parse-time evaluation of calls, pipelines and subexpressions (#9499) 2023-08-26 16:41:29 +03:00