class IsDirectory extends FSError Path is a directory when a file was expected. Constructors new IsDirectory(path: string | URL,message: string,) Properties name: "IsDirectory"