1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-18 13:22:55 -05:00
denoland-deno/runtime/permissions
Yusuke Tanaka c56274285d
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>
2024-12-17 11:45:18 +09:00
..
Cargo.toml chore: forward v2.1.4 release commit to main (#27329) 2024-12-11 12:47:31 +00: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) 2024-12-17 11:45:18 +09: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