0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-04 09:57:11 -05:00
deno/runtime/permissions
Yusuke Tanaka 7db9448cdf feat(permission): separate PermissionDeniedError to Retryable and Fatal (#27282)
This commit separates `PermissionDeniedError` into two kinds;
`Retryable` and `Fatal`.

The existing `PermissionDeniedError`s fall into `Retryable`, since
permission errors can be resolved by retrying with proper permissions in
Deno CLI. The motivation of adding `Fatal` is that in some environments
some operations are just disabled; for instance, in Deno Deploy, any
write operations to filesystem can never be granted, in which case
`Fatal` kind becomes useful.

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-01-09 15:19:09 -05:00
..
Cargo.toml 2.1.4 (#27327) 2024-12-11 04:31:27 +01:00
clippy.toml refactor(permissions): remove FromStr implementations, add ::parse methods (#25473) 2024-09-06 11:28:53 +02:00
lib.rs feat(permission): separate PermissionDeniedError to Retryable and Fatal (#27282) 2025-01-09 15:19:09 -05:00
prompter.rs feat: permission stack traces in ops (#26938) 2024-11-20 21:24:04 +00:00
README.md refactor: add deno_permissions crate (#22236) 2024-03-12 10:42:26 -07:00