``` if (!rootPath) { throw 'Please provide a root path.'; } ``` instead of throwing a string, use a descendant of the Error object (something like VError)
instead of throwing a string, use a descendant of the Error object (something like VError)