nushell/crates/nu-command/src/strings
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
..
base Replace the old encode base64 and decode base64 with new-base64 commands (#14018) 2024-10-08 11:01:43 +08:00
encode_decode Drop once_cell dependency (#14198) 2024-10-29 17:33:46 +01:00
format Respect system locale when formatting file sizes via config (#15271) 2025-03-09 15:43:02 -05:00
split Replace some PipelineMismatch by OnlySupportsThisInputType by shell error (#15447) 2025-04-07 12:25:27 +02:00
str_ Replace some PipelineMismatch by OnlySupportsThisInputType by shell error (#15447) 2025-04-07 12:25:27 +02:00
char_.rs Fix char lsep assignment (#15065) 2025-02-09 07:19:11 -05:00
detect_columns.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
guess_width.rs fix: clippy warnings with --all-features (#15035) 2025-02-07 12:30:25 +01:00
mod.rs encode/decode for multiple alphabets (#13428) 2024-08-23 11:18:51 -05:00
parse.rs Replace some PipelineMismatch by OnlySupportsThisInputType by shell error (#15447) 2025-04-07 12:25:27 +02:00