Does anyone else wish OutputError was a thing?

Command doesn't seem to have an easy way to handle failure exit codes. We kinda wonder how common it is to make an abstraction around it to get an Err(OutputError) (which is an enum OutputError { Output(Output), Io(IoError) }), and whether such thing should be in std.

Does anyone else throw their own OutputError at Command?

There were some related suggestions in: Pre-RFC overhaul Command for 2021 ed

1 Like