Move job errors into ShellError::Job variant (#15820)

- related #10698

# Description


In my endeavor to make the `ShellError` less crowded I moved the job
related errors into `ShellError::Job` with a `JobError` enum. Mostly I
just moved the codes, errors and labels over to the new enum.
This commit is contained in:
Piepmatz
2025-05-26 18:04:43 +02:00
committed by GitHub
parent 89df01f829
commit 9a968c4bdd
10 changed files with 90 additions and 130 deletions

View File

@ -6,5 +6,5 @@ pub use nu_protocol::{
ast::CellPath,
engine::{Call, Command, EngineState, Stack, StateWorkingSet},
record,
shell_error::io::*,
shell_error::{io::*, job::*},
};