Skip to content

Commit

Permalink
Changed error to ApiError.With
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed May 3, 2024
1 parent 6382258 commit e20f183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/access.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ export class WebAccessFS extends Async(FileSystem) {
}
}

public async link(): Promise<void> {
throw new ApiError(ErrorCode.ENOTSUP);
public async link(srcpath: string): Promise<void> {
throw ApiError.With('ENOSYS', srcpath, 'WebAccessFS.link');
}

public async rmdir(path: string): Promise<void> {
Expand Down

0 comments on commit e20f183

Please sign in to comment.