UNPKG

@contextjs/io

Version:

File system utilities for reading, writing, and inspecting files, directories, and paths.

8 lines (7 loc) 264 B
import { Exception } from "@contextjs/system"; export class DirectoryExistsException extends Exception { constructor(directory) { super(`The specified directory already exists: ${directory}`); this.name = DirectoryExistsException.name; } }