nushell/crates/nu-command/src/path
Loïc Riegel 639f4bd499
Replace some PipelineMismatch by OnlySupportsThisInputType by shell error (#15447)
sub-issue of #10698 according to @sholderbach 

(Description largely edited, since the scope of the PR changed)

# Description
Context: `ShellError::OnlySupportsThisInputType` was a duplicate of
`ShellError::PipelineMismatch`

so I
- replaced some occurences of PipelineMismatch by
OnlySupportsThisInputType

For another PR
- replace the remaining occurences
- removed OnlySupportsThisInputType from nu-protocol

# User-Facing Changes
The error message will be different -> but consistent

# Tests + Formatting
OK

# After Submitting
Nothing required
2025-04-07 12:25:27 +02:00
..
basename.rs refactor: rename subcommand structs (#15309) 2025-03-14 02:00:35 +01:00
dirname.rs refactor: rename subcommand structs (#15309) 2025-03-14 02:00:35 +01:00
exists.rs refactor: rename subcommand structs (#15309) 2025-03-14 02:00:35 +01:00
expand.rs refactor: rename subcommand structs (#15309) 2025-03-14 02:00:35 +01:00
join.rs Replace some PipelineMismatch by OnlySupportsThisInputType by shell error (#15447) 2025-04-07 12:25:27 +02:00
mod.rs Replace some PipelineMismatch by OnlySupportsThisInputType by shell error (#15447) 2025-04-07 12:25:27 +02:00
parse.rs refactor: rename subcommand structs (#15309) 2025-03-14 02:00:35 +01:00
path_.rs refactor: rename subcommand structs (#15309) 2025-03-14 02:00:35 +01:00
relative_to.rs refactor: rename subcommand structs (#15309) 2025-03-14 02:00:35 +01:00
self_.rs refactor: rename subcommand structs (#15309) 2025-03-14 02:00:35 +01:00
split.rs refactor: rename subcommand structs (#15309) 2025-03-14 02:00:35 +01:00
type.rs refactor: rename subcommand structs (#15309) 2025-03-14 02:00:35 +01:00