Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add more Deno.errors classes #19514

Merged
merged 2 commits into from
Jun 28, 2023
Merged

Conversation

bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented Jun 14, 2023

This commit adds following new error classes:

  • Deno.errors.NotADirectory
  • Deno.errors.FilesystemLoop
  • Deno.errors.IsADirectory
  • Deno.errors.NetworkUnreachable

Closes #19408

@bartlomieju bartlomieju added this to the 1.35 milestone Jun 14, 2023
@bartlomieju bartlomieju merged commit 0434e04 into denoland:main Jun 28, 2023
@bartlomieju bartlomieju deleted the fs_errors branch June 28, 2023 23:46
bartlomieju added a commit that referenced this pull request Jul 3, 2023
Follow up to #19514, where I forgot
to update type declarations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add error classes for common errors
3 participants