chore(fs): remove redundant constructor examples (#5511)

chore(fs): remove constructor examples
This commit is contained in:
Asher Gomez 2024-07-23 13:06:03 +10:00 committed by GitHub
parent 54f6277ce2
commit c349da2e43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 14 deletions

View File

@ -27,13 +27,6 @@ export class SubdirectoryMoveError extends Error {
*
* @param src The source file or directory as a string or URL.
* @param dest The destination file or directory as a string or URL.
*
* @example Usage
* ```ts no-eval
* import { SubdirectoryMoveError } from "@std/fs/move";
*
* throw new SubdirectoryMoveError("./foo", "./foo/bar");
* ```
*/
constructor(src: string | URL, dest: string | URL) {
super(

View File

@ -50,13 +50,6 @@ export class WalkError extends Error {
*
* @param cause The cause of the error.
* @param root The root directory that's being walked.
*
* @example Usage
* ```ts no-eval
* import { WalkError } from "@std/fs/walk";
*
* throw new WalkError("error message", "./foo");
* ```
*/
constructor(cause: unknown, root: string) {
super(