mirror of
https://github.com/nushell/nushell.git
synced 2025-06-03 16:45:41 +02:00
In this PR, the two new variants for `ErrorKind`, `FileNotFound` and `DirectoryNotFound` with a nice `not_found_as` method for the `ErrorKind` to easily specify the `NotFound` errors. I also updated some places where I could of think of with these new variants and the message for `NotFound` is no longer "Entity not found" but "Not found" to be less strange. closes #15142 closes #15055
11 lines
398 B
Rust
11 lines
398 B
Rust
pub use crate::CallExt;
|
|
pub use nu_protocol::{
|
|
ast::CellPath,
|
|
engine::{Call, Command, EngineState, Stack, StateWorkingSet},
|
|
record,
|
|
shell_error::io::*,
|
|
ByteStream, ByteStreamType, Category, ErrSpan, Example, IntoInterruptiblePipelineData,
|
|
IntoPipelineData, IntoSpanned, IntoValue, PipelineData, Record, ShellError, Signature, Span,
|
|
Spanned, SyntaxShape, Type, Value,
|
|
};
|