Use Error convention
This commit is contained in:
parent
b5abdce7e0
commit
b3a140645a
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ class DocSearch {
|
|||
|
||||
if (typeof args.inputSelector !== 'string') {
|
||||
throw new Error(
|
||||
`inputSelector:${
|
||||
`Error: inputSelector:${
|
||||
args.inputSelector
|
||||
} must be a string. Each selector must match only one element and separated by ','`
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue