class IsDirectory
extends FSError

Path is a directory when a file was expected.

Constructors

IsDirectory(
path: string | URL,
message: string
)

Properties

name: "IsDirectory"

Usage

import { IsDirectory } from ".";