mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
Add search terms to error make (#5657)
* add search terms to error make * add throw Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
This commit is contained in:
parent
fb89f2f48c
commit
545b1dcd94
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@ impl Command for ErrorMake {
|
|||
"Create an error."
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["err", "panic", "crash", "throw"]
|
||||
}
|
||||
|
||||
fn run(
|
||||
&self,
|
||||
engine_state: &EngineState,
|
||||
|
|
Loading…
Reference in a new issue