class WalkError extends ErrorView codeError thrown in walk or walkSync during iteration. Constructorsnew WalkError(cause: unknown,root: string)View codeConstructs a new instance. Propertiesroot: stringView codeFile path of the root that's being walked.