We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The new version of Deno introduces some changes to the permission system, see.
Notably the introduction of Deno.errors.NotCapable breaks createParams here.
Deno.errors.NotCapable
createParams
try { pgEnv = getPgEnv(); } catch (e) { if (e instanceof Deno.errors.PermissionDenied) { has_env_access = false; } else { throw e; } }
I guess for backwards compatibility we should keep both?
The text was updated successfully, but these errors were encountered:
fix: Deno 2 permissions system update for ENV
eb9e403
Updates usages of of `Deno.errors.PermissionDenied` to also support Deno v2's new `Deno.errors.NotCapable`. Fixes denodrivers#491
Successfully merging a pull request may close this issue.
The new version of Deno introduces some changes to the permission system, see.
Notably the introduction of
Deno.errors.NotCapable
breakscreateParams
here.I guess for backwards compatibility we should keep both?
The text was updated successfully, but these errors were encountered: