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:
pwygab 2022-05-27 19:04:33 +08:00 committed by GitHub
parent fb89f2f48c
commit 545b1dcd94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,